你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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