Sdílet prostřednictvím


PageableOperation<T> Class

Definition

Represents a pageable long-running operation that exposes the results in either synchronous or asynchronous format.

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

Type Parameters

T
Inheritance
PageableOperation<T>
Derived

Constructors

PageableOperation<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).

(Inherited from Operation<T>)
Id

Gets an ID representing the operation that can be used to poll for the status of the long-running operation. There are cases that operation id is not available, we return "NOT_SET" for unavailable operation id.

(Inherited from Operation)
Value

Final result of the long-running operation.

(Inherited from Operation<T>)

Methods

GetRawResponse()

The last HTTP response received from the server.

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

(Inherited from Operation)
UpdateStatusAsync(CancellationToken)

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

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

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

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