Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)
Syntax
'Declaration
Function GetTokenAsync ( _
    provider As IssuedTokenProvider, _
    failedToken As IssuedToken _
) As Task(Of IssuedToken)
Task<IssuedToken> GetTokenAsync(
    IssuedTokenProvider provider,
    IssuedToken failedToken
)
Task<IssuedToken^>^ GetTokenAsync(
    IssuedTokenProvider^ provider, 
    IssuedToken^ failedToken
)
abstract GetTokenAsync : 
        provider:IssuedTokenProvider * 
        failedToken:IssuedToken -> Task<IssuedToken> 
function GetTokenAsync(
    provider : IssuedTokenProvider, 
    failedToken : IssuedToken
) : Task<IssuedToken>
Parameters
- provider
 Type: IssuedTokenProvider
- failedToken
 Type: Microsoft.VisualStudio.Services.Common.IssuedToken
Return Value
Type: System.Threading.Tasks.Task<IssuedToken>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.