Udostępnij za pośrednictwem


PageResult<T> Class

Definition

A page of values returned from a cloud service in response to a request for a collection from a paginated endpoint. When used with PageCollection<T> or AsyncPageCollection<T>, returns a subset of a complete collection of values returned from a service. Each PageResult<T> represents the values in a single service response.

public class PageResult<T> : System.ClientModel.ClientResult
type PageResult<'T> = class
    inherit ClientResult
Public Class PageResult(Of T)
Inherits ClientResult

Type Parameters

T
Inheritance
PageResult<T>

Properties

NextPageToken

Gets a token that can be passed to a client method to obtain a page collection that begins with the page of values after this page. If NextPageToken is null, the current page is the last page in the page collection.

PageToken

Gets a token that can be passed to a client method to obtain a page collection that begins with this page of values.

Values

Gets the values in this PageResult<T>.

Methods

Create(IReadOnlyList<T>, ContinuationToken, ContinuationToken, PipelineResponse)

Create a PageResult<T> from the provided parameters.

GetRawResponse()

Gets the PipelineResponse received from the service.

(Inherited from ClientResult)
SetRawResponse(PipelineResponse)

Update the value returned from GetRawResponse().

(Inherited from ClientResult)

Applies to