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
- failedToken
Type: Microsoft.VisualStudio.Services.Common.IssuedToken
- cancellationToken
Type: System.Threading.CancellationToken
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.