다음을 통해 공유


ClassifyDocumentOperation Constructors

Definition

Overloads

ClassifyDocumentOperation()

Initializes a new instance of the ClassifyDocumentOperation class. This constructor is intended to be used for mocking only.

ClassifyDocumentOperation(String, TextAnalyticsClient)

Initializes a new instance of the ClassifyDocumentOperation class.

ClassifyDocumentOperation()

Source:
ClassifyDocumentOperation.cs

Initializes a new instance of the ClassifyDocumentOperation class. This constructor is intended to be used for mocking only.

protected ClassifyDocumentOperation ();
Protected Sub New ()

Applies to

ClassifyDocumentOperation(String, TextAnalyticsClient)

Source:
ClassifyDocumentOperation.cs

Initializes a new instance of the ClassifyDocumentOperation class.

public ClassifyDocumentOperation (string operationId, Azure.AI.TextAnalytics.TextAnalyticsClient client);
new Azure.AI.TextAnalytics.ClassifyDocumentOperation : string * Azure.AI.TextAnalytics.TextAnalyticsClient -> Azure.AI.TextAnalytics.ClassifyDocumentOperation
Public Sub New (operationId As String, client As TextAnalyticsClient)

Parameters

operationId
String

The ID of this operation.

client
TextAnalyticsClient

The client used to check for completion.

Exceptions

operationId is an empty string or does not represent a valid continuation token from the Id property returned on the original operation.

operationId or client is null.

Applies to