CollectionResult<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 CollectionResult<T> : System.ClientModel.Primitives.CollectionResult, System.Collections.Generic.IEnumerable<T>
public abstract class CollectionResult<T> : System.ClientModel.ClientResult, System.Collections.Generic.IEnumerable<T>

Type Parameters

T
Inheritance
CollectionResult<T>
Inheritance
CollectionResult<T>
Implements

Constructors

Methods

GetContinuationToken(ClientResult)

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

(Inherited from CollectionResult)
GetEnumerator()

Returns an enumerator that iterates through the collection.

GetRawPages()

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

(Inherited from CollectionResult)
GetRawResponse()

Gets the PipelineResponse received from the service.

(Inherited from ClientResult)
GetValuesFromPage(ClientResult)

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

SetRawResponse(PipelineResponse)

Update the value returned from GetRawResponse().

(Inherited from ClientResult)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Applies to