Dela via


SpeechRecognizer.AuthorizationToken Property

Definition

Gets or sets authorization token used to communicate with the service.

Note: Your code needs to ensure that the authorization token is valid. Before the authorization token expires, your code needs to refresh it by calling this setter with a new valid token. Otherwise, the recognizer will produce errors during recognition.

public string AuthorizationToken { get; set; }
member this.AuthorizationToken : string with get, set
Public Property AuthorizationToken As String

Property Value

Applies to