次の方法で共有


PaginatedResponseHelper.ForEach<TType> Method

Definition

public static void ForEach<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, Action<TType[]> action);
static member ForEach : 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> * Action<'ype[]> -> unit
Public Sub ForEach(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), action As Action(Of TType()))

Type Parameters

TType

Parameters

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

Applies to