共用方式為


PageableOperation<T>.GetValues(CancellationToken) Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

A CancellationToken used for the periodical service calls.

Returns

The final result of the long-running operation synchronously.

Remarks

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

Applies to