次の方法で共有


AsyncCollectionResult<T> Constructors

Definition

Overloads

AsyncCollectionResult<T>()

Creates a new instance of AsyncCollectionResult<T>.

AsyncCollectionResult<T>(PipelineResponse)

Create a new instance of AsyncCollectionResult<T>.

AsyncCollectionResult<T>()

Source:
AsyncCollectionResultOfT.cs
Source:
AsyncCollectionResultOfT.cs

Creates a new instance of AsyncCollectionResult<T>.

protected internal AsyncCollectionResult ();
Protected Friend Sub New ()

Remarks

If no PipelineResponse is provided when the ClientResult instance is created, it is expected that a derived type will call SetRawResponse(PipelineResponse) prior to a user calling GetRawResponse(). This constructor is indended for use by collection implementations that postpone sending a request until GetAsyncEnumerator(CancellationToken) is called. Such implementations will typically be returned from client convenience methods so that callers of the methods don't need to dispose the return value.

Applies to

AsyncCollectionResult<T>(PipelineResponse)

Source:
AsyncCollectionResultOfT.cs

Create a new instance of AsyncCollectionResult<T>.

protected internal AsyncCollectionResult (System.ClientModel.Primitives.PipelineResponse response);
new System.ClientModel.AsyncCollectionResult<'T> : System.ClientModel.Primitives.PipelineResponse -> System.ClientModel.AsyncCollectionResult<'T>
Protected Friend Sub New (response As PipelineResponse)

Parameters

response
PipelineResponse

The PipelineResponse holding the items in the collection, or the first set of the items in the collection.

Applies to