次の方法で共有


PaginatedResponseHelper.Enumerate<TType> Method

Definition

public static TType[] Enumerate<TType> (Func<System.Threading.Tasks.Task<Microsoft.Azure.Commands.ResourceManager.Common.ResponseWithContinuation<TType[]>>> getFirstPage, Func<string,System.Threading.Tasks.Task<Microsoft.Azure.Commands.ResourceManager.Common.ResponseWithContinuation<TType[]>>> getNextPage, System.Threading.CancellationToken? cancellationToken);
static member Enumerate : Func<System.Threading.Tasks.Task<Microsoft.Azure.Commands.ResourceManager.Common.ResponseWithContinuation<'ype[]>>> * Func<string, System.Threading.Tasks.Task<Microsoft.Azure.Commands.ResourceManager.Common.ResponseWithContinuation<'ype[]>>> * Nullable<System.Threading.CancellationToken> -> 'ype[]
Public Function Enumerate(Of TType) (getFirstPage As Func(Of Task(Of ResponseWithContinuation(Of TType()))), getNextPage As Func(Of String, Task(Of ResponseWithContinuation(Of TType()))), cancellationToken As Nullable(Of CancellationToken)) As TType()

Type Parameters

TType

Parameters

getFirstPage
Func<Task<ResponseWithContinuation<TType[]>>>
getNextPage
Func<String,Task<ResponseWithContinuation<TType[]>>>
cancellationToken
Nullable<CancellationToken>

Returns

TType[]

Applies to