다음을 통해 공유


AsyncCollectionResult.GetRawPagesAsync Method

Definition

Gets the collection of page responses that contain the items in this collection.

public abstract System.Collections.Generic.IAsyncEnumerable<System.ClientModel.ClientResult> GetRawPagesAsync ();
abstract member GetRawPagesAsync : unit -> System.Collections.Generic.IAsyncEnumerable<System.ClientModel.ClientResult>
Public MustOverride Function GetRawPagesAsync () As IAsyncEnumerable(Of ClientResult)

Returns

A collection of service responses where each ClientResult holds a subset of items in the full collection.

Remarks

This method does not take a CancellationToken parameter. AsyncCollectionResult implementations must store the CancellationToken passed to the service method that creates them and pass that token to any async methods called from this method. For protocol methods, this CancellationToken will come from the CancellationToken property.

Applies to