简体   繁体   English

Windows 8:在扩展的初始屏幕中使用LiveSDK登录

[英]Windows 8: Login with LiveSDK in extended splash screen

I would like to sign my users already in, while showing up an Extended splash screen. 我想在扩展扩展初始屏幕上登录我的用户。 But the Live Sdk throws always an unexpected error! 但是Live SDK总是会引发意外错误!

Microsoft.Live.LiveAuthException: An error occurred while performing the operation. Please try again later. ---> System.Exception: Die Anforderung wird nicht unterstützt. (Ausnahme von HRESULT: 0x80070032)
   at Windows.Security.Authentication.OnlineId.OnlineIdAuthenticator.AuthenticateUserAsync(IEnumerable`1 requests, CredentialPromptType credentialPromptType)
   at Microsoft.Live.TailoredAuthClient.<GetAccessToken>d__b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Live.TailoredAuthClient.<AuthenticateAsync>d__0.MoveNext()
   --- End of inner exception stack trace ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at WitzeWindows8.ExtendedSplashScreen.<DismissedEventHandler>d__13.MoveNext() in c:\Users\Michi\Documents\Visual Studio 2012\Projects\WitzeWindows8\WitzeWindows8\ExtendedSpashScreen.xaml.cs:line 135

Check out how to use the LiveSDK using this tutorial: http://www.silverlightshow.net/items/Using-the-Live-SDK-in-Windows-8-XAML-C-Metro-Applications.aspx 通过本教程了解如何使用LiveSDK: http//www.silverlightshow.net/items/使用Live-SDK-in-Windows-8-XAML-C-Metro-Applications.aspx

Your Extended Splash Screen might be the root of the problems, you should try it without an extended splash screen and showing this window, as described in the tutorial: 您的扩展初始屏幕可能是问题的根源,您应该在没有扩展初始屏幕的情况下尝试它,并显示此窗口,如本教程中所述: 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM