Operation<T> Class

Definition

Represents a long-running operation that returns a value when it completes.

public abstract class Operation<T> : Azure.Operation
type Operation<'T> = class
    inherit Operation
Public MustInherit Class Operation(Of T)
Inherits Operation

Type Parameters

T

The final result of the long-running operation.

Inheritance
Operation<T>
Derived

Constructors

Operation<T>()

Properties

HasCompleted

Returns true if the long-running operation completed.

(Inherited from Operation)
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.

(Inherited from Operation)
Value

Final result of the long-running operation.

Methods

GetRawResponse()

The last HTTP response received from the server.

(Inherited from Operation)
UpdateStatus(CancellationToken)

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

(Inherited from Operation)
UpdateStatusAsync(CancellationToken)

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

(Inherited from Operation)
WaitForCompletionAsync(CancellationToken)

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

WaitForCompletionAsync(TimeSpan, CancellationToken)

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

WaitForCompletionResponseAsync(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