Il mio codice usa:WebAuthenticationBroker.AuthenticateAsync getta eccezione
WebAuthenticationResult WebAuthenticationResult = await
WebAuthenticationBroker.AuthenticateAsync(
WebAuthenticationOptions.None,
StartUri,
EndUri);
proprio come il Microsoft Web authentication broker sample
'abituato a lavorare sul mio desktop e sul mio tablet (Surface), ma ora non funziona sul mio desktop . Genera eccezione
The process terminated unexpectedly. (Exception from HRESULT: 0x8007042B)
Sta funzionando sul tablet e su diversi desktop windows-8.
Qualche suggerimento su cosa può causare questa eccezione?
Sembra che WebAuthenticationBroker funzioni solo in WinRT. – tofutim
Il problema potrebbe essere che funziona solo sul thread dell'interfaccia utente. – BenCr
Se non lo si è già fatto, esiste un registro eventi specifico per WebAutheticationBroker. Vedere questo ... http://msdn.microsoft.com/en-us/library/windows/desktop/jj658959(v=vs.85).aspx – BenCr