Share via


ITokenSource.GetTokenAsync Method

Definition

Gets a token for a resource.

public System.Threading.Tasks.Task<string> GetTokenAsync ();
abstract member GetTokenAsync : unit -> System.Threading.Tasks.Task<string>
Public Function GetTokenAsync () As Task(Of String)

Returns

A Task<TResult> representing the result of the asynchronous operation.

Applies to