Compartilhar via


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>
public abstract class AsyncCollectionResult<T> : System.ClientModel.ClientResult, System.Collections.Generic.IAsyncEnumerable<T>
type AsyncCollectionResult<'T> = class
    inherit AsyncCollectionResult
    interface IAsyncEnumerable<'T>
type AsyncCollectionResult<'T> = class
    inherit ClientResult
    interface IAsyncEnumerable<'T>
Public MustInherit Class AsyncCollectionResult(Of T)
Inherits AsyncCollectionResult
Implements IAsyncEnumerable(Of T)
Public MustInherit Class AsyncCollectionResult(Of T)
Inherits ClientResult
Implements IAsyncEnumerable(Of T)

Type Parameters

T
Inheritance
AsyncCollectionResult<T>
Inheritance
AsyncCollectionResult<T>
Implements

Constructors

AsyncCollectionResult<T>()

Creates a new instance of AsyncCollectionResult<T>.

AsyncCollectionResult<T>(PipelineResponse)

Create 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)
GetRawResponse()

Gets the PipelineResponse received from the service.

(Inherited from ClientResult)
GetValuesFromPageAsync(ClientResult)

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

SetRawResponse(PipelineResponse)

Update the value returned from GetRawResponse().

(Inherited from ClientResult)

Applies to