Share via


DocumentTranslationAudience(String) Constructor

Definition

Initializes a new instance of the DocumentTranslationAudience object.

public DocumentTranslationAudience (string value);
new Azure.AI.Translation.Document.DocumentTranslationAudience : string -> Azure.AI.Translation.Document.DocumentTranslationAudience
Public Sub New (value As String)

Parameters

value
String

The Azure Active Directory audience to use when forming authorization scopes. For the Azure Document Translation Service, this value corresponds to a URL that identifies the Azure cloud where the resource is located. For more information: https://docs.microsoft.com/azure/cognitive-services/translator/sovereign-clouds?tabs=us.

Exceptions

value is null.

value is empty.

Remarks

Please use one of the constant members over creating a custom value unless you have special needs for doing so.

Applies to