Hotmail

“0x80004002 – JavaScript runtime error: No such interface supported” when calling WINJS authenticateUserAsync API

待回答 0 个回答

归档帖子,发布于 2013年8月16日。 产品:Hotmail(已停止开发)。 其中的信息可能已经过时。

本帖暂无中文翻译,以下为英文原文。

问题 提问于 2013年8月16日

I got error message with the code below:

 

Error:    

"0x80004002 - JavaScript runtime error: No such interface supported"

        

 

Code:

var authenticator = new Windows.Security.Authentication.OnlineId.OnlineIdAuthenticator();

var serviceTicketRequest = new Windows.Security.Authentication.OnlineId.OnlineIdServiceTicketRequest("wl.basic", "DELEGATION");

authenticator.authenticateUserAsync(serviceTicketRequest, Windows.Security.Authentication.OnlineId.CredentialPromptType.promptIfNeeded)

.done(function (){...});

 

The error is gone after remove the second param "Windows.Security.Authentication.OnlineId.CredentialPromptType.promptIfNeeded". But I can see the API support the 2nd param from IntelliSense in VS2012. Any idea?

 

 

暂无回答

撰写回答

您的邮箱地址不会被公开。请勿发布密码。

This site uses Akismet to reduce spam. Learn how your comment data is processed.