Sdílet prostřednictvím


SpeechSynthesizer.AuthorizationToken Property

Definition

Gets/sets authorization token used to communicate with the service. 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 synthesizer will encounter errors while speech synthesis. Added in 1.7.0

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

Property Value

Applies to