Share via


IssuedTokenProvider.GetTokenAsync Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)

Syntax

'Declaration
Public Function GetTokenAsync ( _
    failedToken As IssuedToken, _
    cancellationToken As CancellationToken _
) As Task(Of IssuedToken)
public Task<IssuedToken> GetTokenAsync(
    IssuedToken failedToken,
    CancellationToken cancellationToken
)
public:
Task<IssuedToken^>^ GetTokenAsync(
    IssuedToken^ failedToken, 
    CancellationToken cancellationToken
)
member GetTokenAsync : 
        failedToken:IssuedToken * 
        cancellationToken:CancellationToken -> Task<IssuedToken> 
public function GetTokenAsync(
    failedToken : IssuedToken, 
    cancellationToken : CancellationToken
) : Task<IssuedToken>

Parameters

Return Value

Type: System.Threading.Tasks.Task<IssuedToken>

.NET Framework Security

See Also

Reference

IssuedTokenProvider Class

Microsoft.VisualStudio.Services.Common Namespace