共用方式為


PageableOperation<T>.GetValuesAsync(CancellationToken) Method

Definition

Gets the final result of the long-running operation asynchronously.

public abstract Azure.AsyncPageable<T> GetValuesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetValuesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<'T>
Public MustOverride Function GetValuesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of T)

Parameters

cancellationToken
CancellationToken

A CancellationToken used for the periodical service calls.

Returns

The final result of the long-running operation asynchronously.

Remarks

Operation must complete successfully (HasValue is true) for it to provide values.

Applies to