Condividi tramite


BuildDocumentClassifierOperation Class

Definition

Tracks the status of a long-running operation for building a document classifier.

public class BuildDocumentClassifierOperation : Azure.Operation<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentClassifierDetails>
type BuildDocumentClassifierOperation = class
    inherit Operation<DocumentClassifierDetails>
Public Class BuildDocumentClassifierOperation
Inherits Operation(Of DocumentClassifierDetails)
Inheritance
BuildDocumentClassifierOperation

Constructors

BuildDocumentClassifierOperation()

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

BuildDocumentClassifierOperation(String, DocumentModelAdministrationClient)

Initializes a new instance of the BuildDocumentClassifierOperation class which tracks the status of a long-running operation for creating a document classifier.

Properties

HasCompleted

Returns true if the long-running operation completed.

HasValue

Returns true if the long-running operation completed successfully and has produced final result (accessible by Value property).

Id

Gets operation Id that can be used to poll for the status of the long-running operation.

PercentCompleted

Gets the operation progress. Value is from [0-100].

Value

Final result of the long-running operation.

Methods

GetRawResponse()

The last HTTP response received from the server.

GetRehydrationToken()

Get a token that can be used to rehydrate the operation.

(Inherited from Operation)
UpdateStatus(CancellationToken)

Calls the server to get updated status of the long-running operation.

UpdateStatusAsync(CancellationToken)

Calls the server to get updated status of the long-running operation.

WaitForCompletion(CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation<T>)
WaitForCompletion(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation<T>)
WaitForCompletion(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation<T>)
WaitForCompletionAsync(CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionAsync(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation<T>)
WaitForCompletionAsync(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionResponse(CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponse(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponse(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponseAsync(CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponseAsync(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponseAsync(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)

Applies to