小编Ron*_*nit的帖子

WebAuthenticationBroker.AuthenticateAsync抛出异常

我的代码使用:

WebAuthenticationResult WebAuthenticationResult = await
WebAuthenticationBroker.AuthenticateAsync( 
                                        WebAuthenticationOptions.None, 
                                        StartUri, 
                                        EndUri); 
Run Code Online (Sandbox Code Playgroud)

就像Microsoft Web身份验证代理示例一样

它曾经在我的桌面和平板电脑(Surface)上工作,但现在它无法在我的桌面上运行.它抛出异常

The process terminated unexpectedly. (Exception from HRESULT: 0x8007042B)
Run Code Online (Sandbox Code Playgroud)

它正在平板电脑和不同的Windows-8桌面上工作.

有什么可以导致这种异常的建议吗?

c# microsoft-metro windows-8 windows-store-apps

6
推荐指数
1
解决办法
1086
查看次数