播放锁定屏幕幻灯片(RequestSetImageFeedAsync错误)

问题描述:

我试图使用方法public static IAsyncOperation<SetImageFeedResult> RequestSetImageFeedAsync(Uri syndicationFeedUri)在Windows 8 从外部乌里玩锁屏幻灯片当我从本教程http://blogs.msdn.com/b/eternalcoding/archive/2013/11/13/what-a-cool-feature-controling-the-windows-8-1-lock-screen-slide-show.aspx设置此https://urzagatherer.azure-mobile.net/api/wallpapers RSS URI和打开“更改电脑设置”,我总是看到消息:“您需要多张图片的幻灯片展示”,像下面的图像和幻灯片播放不播放:enter image description here播放锁定屏幕幻灯片(RequestSetImageFeedAsync错误)

这里是我的代码:

SetImageFeedResult result = await LockScreen.RequestSetImageFeedAsync(new Uri("https://urzagatherer.azure-mobile.net/api/wallpapers")); 
if (result == SetImageFeedResult.Success) 
{ 
    AddImageFeedScenarioOutputText.Text = "Called RequestSetImageFeedAsync: the specified URL was set as the default."; 
} 
else if (result == SetImageFeedResult.ChangeDisabled) 
{ 
    AddImageFeedScenarioOutputText.Text = "Called RequestSetImageFeedAsync: call succeeded but group policy has the lock screen image slide show turned off."; 
} 
else // (result == SetImageFeedResult.UserCanceled) 
{ 
    AddImageFeedScenarioOutputText.Text = "Called RequestSetImageFeedAsync: the specified URL was not set as the default."; 
} 

我的解决方案有什么问题?

我在Windows 8.1上运行你的代码,必须说它的工作perfectly没有任何错误。它要求允许更换我的锁屏,并且必须选择允许

+0

这很有趣。你有没有检查幻灯片播放? –

+0

是的,它玩的很好 – Jerin

+0

感谢您的回答。我会在另一台电脑上检查我的代码。 –