Compartir a través de


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 CollectionResult<'T> = class
    inherit CollectionResult
    interface seq<'T>
    interface IEnumerable
type CollectionResult<'T> = class
    inherit ClientResult
    interface seq<'T>
    interface IEnumerable
Public MustInherit Class CollectionResult(Of T)
Inherits CollectionResult
Implements IEnumerable(Of T)
Public MustInherit Class CollectionResult(Of T)
Inherits ClientResult
Implements IEnumerable(Of T)

Type Parameters

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

Constructors

CollectionResult<T>()

Creates a new instance of CollectionResult<T>.

CollectionResult<T>(PipelineResponse)

Create a new instance of CollectionResult<T>.

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