ClassifyDocumentOperation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Pageable operation class for classifying single and multiple labels from multiple documents using long running operation.
public class ClassifyDocumentOperation : Azure.PageableOperation<Azure.AI.TextAnalytics.ClassifyDocumentResultCollection>
type ClassifyDocumentOperation = class
inherit PageableOperation<ClassifyDocumentResultCollection>
Public Class ClassifyDocumentOperation
Inherits PageableOperation(Of ClassifyDocumentResultCollection)
- Inheritance
-
ClassifyDocumentOperation
Constructors
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. |
Properties
CreatedOn |
Time when the operation was created on. |
DisplayName |
Display Name of the operation. |
ExpiresOn |
Time when the operation will expire. |
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 an ID representing the operation that can be used to poll for the status of the long-running operation. |
LastModified |
Time when the operation was last modified on |
Status |
Gets the status of the operation. |
Value |
Final result of the long-running operation. (Inherited from Operation<T>) |
Methods
Cancel(CancellationToken) |
Cancels a pending or running ClassifyDocumentOperation. |
CancelAsync(CancellationToken) |
Cancels a pending or running ClassifyDocumentOperation. |
GetRawResponse() |
The last HTTP response received from the server. |
GetRehydrationToken() |
Get a token that can be used to rehydrate the operation. (Inherited from Operation) |
GetValues(CancellationToken) |
Gets the final result of the long-running operation in synchronously. |
GetValuesAsync(CancellationToken) |
Gets the final result of the long-running operation asynchronously. |
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) |