Share via


FormRecognizerAudience(String) Constructor

Definition

Initializes a new instance of the FormRecognizerAudience object.

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

Parameters

value
String

The Azure Active Directory audience to use when forming authorization scopes. For FormRecognizer, 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