Share via


TextAnalyticsAudience(String) Constructor

Definition

Initializes a new instance of the TextAnalyticsAudience object.

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

Parameters

value
String

The Azure Active Directory audience to use when forming authorization scopes.For the Language 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/azure-government/documentation-government-cognitiveservices.

Exceptions

value is null.

Remarks

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

Applies to