Megosztás a következőn keresztül:


TranslationRecognizer.AuthorizationToken Property

Definition

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

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

Property Value

Remarks

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

Applies to