Dela via


AsyncResultCollection<T> Class

Definition

Represents a collection of results returned from a cloud service operation.

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

Type Parameters

T
Inheritance
AsyncResultCollection<T>
Derived
Implements

Constructors

AsyncResultCollection<T>()

Create a new instance of AsyncResultCollection<T>.

AsyncResultCollection<T>(PipelineResponse)

Create a new instance of AsyncResultCollection<T>.

Methods

GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

GetRawResponse()

Gets the PipelineResponse received from the service.

(Inherited from ClientResult)
SetRawResponse(PipelineResponse)

Update the value returned from GetRawResponse().

(Inherited from ClientResult)

Applies to