IAuthorizationProviderGetAuthorizationTokenAsync Method |
Gets the authorization token asynchronously.
Namespace:
Microsoft.Bing.Speech
Assembly:
Microsoft.Bing.Speech (in Microsoft.Bing.Speech.dll) Version: 2.0.1.0 (2.0.1)
Syntax Task<string> GetAuthorizationTokenAsync()
Function GetAuthorizationTokenAsync As Task(Of String)
Task<String^>^ GetAuthorizationTokenAsync()
abstract GetAuthorizationTokenAsync : unit -> Task<string>
Return Value
Type:
TaskStringA task that represents the asynchronous read operation. The value of the string parameter contains the authorization token.
Exceptions Remarks This method should always return a valid authorization token when it is called.
See Also