Click or drag to resize
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()

Return Value

Type: TaskString
A task that represents the asynchronous read operation. The value of the string parameter contains the authorization token.
Exceptions
ExceptionCondition
UnauthorizedAccessExceptionIf the authorization fails.
Remarks
This method should always return a valid authorization token when it is called.
See Also