Share via


DocumentAnalysisAudience(String) Constructor

Definition

Initializes a new instance of the DocumentAnalysisAudience object.

public DocumentAnalysisAudience (string value);
new Azure.AI.FormRecognizer.DocumentAnalysis.DocumentAnalysisAudience : string -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentAnalysisAudience
Public Sub New (value As String)

Parameters

value
String

The Azure Active Directory audience to use when forming authorization scopes. For FormRecognizer.DocumentAnalysis, this value corresponds to a URL that identifies the Azure cloud where the resource is located. For more information: https://docs.microsoft.com/azure/azure-government/documentation-government-cognitiveservices.

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