Condividi tramite


AsyncCollectionResult<T> Class

Definition

Represents a collection of values returned from a cloud service operation. The collection values may be delivered over one or more service responses.

public abstract class AsyncCollectionResult<T> : System.ClientModel.Primitives.AsyncCollectionResult, System.Collections.Generic.IAsyncEnumerable<T>
type AsyncCollectionResult<'T> = class
    inherit AsyncCollectionResult
    interface IAsyncEnumerable<'T>
Public MustInherit Class AsyncCollectionResult(Of T)
Inherits AsyncCollectionResult
Implements IAsyncEnumerable(Of T)

Type Parameters

T
Inheritance
AsyncCollectionResult<T>
Implements

Constructors

AsyncCollectionResult<T>()

Creates a new instance of AsyncCollectionResult<T>.

Methods

GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

GetContinuationToken(ClientResult)

Gets a ContinuationToken that can be passed to a client method to obtain a collection holding the items remaining in this AsyncCollectionResult.

(Inherited from AsyncCollectionResult)
GetRawPagesAsync()

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

(Inherited from AsyncCollectionResult)
GetValuesFromPageAsync(ClientResult)

Gets a collection of the values returned in a page response.

Applies to