DocumentTranslationAudience(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.