PaginatedResponseHelper.Enumerate<TType> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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[]