Share via


ConversationTranslator.SetAuthorizationToken(String, String) Method

Definition

Sets the Cognitive Speech authorization token that will be used for connecting to the server.

public void SetAuthorizationToken (string authToken, string region);
member this.SetAuthorizationToken : string * string -> unit
Public Sub SetAuthorizationToken (authToken As String, region As String)

Parameters

authToken
String

The authorization token.

region
String

The Azure region for the given token.

Applies to