Compartilhar via


PagedCollection<IFluentResourceT,InnerResourceT>.LoadPageWithWrapModelAsync Método

Definição

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<IFluentResourceT>> LoadPageWithWrapModelAsync (Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<InnerResourceT>>> listInnerAsync, Func<string,System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<InnerResourceT>>> listInnerNext, Func<InnerResourceT,System.Threading.CancellationToken,System.Threading.Tasks.Task<IFluentResourceT>> wrapModelAsync, bool loadAllPages, System.Threading.CancellationToken cancellationToken);
static member LoadPageWithWrapModelAsync : Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<'InnerResourceT>>> * Func<string, System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<'InnerResourceT>>> * Func<'InnerResourceT, System.Threading.CancellationToken, System.Threading.Tasks.Task<'IFluentResourceT>> * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'IFluentResourceT>>
Public Shared Function LoadPageWithWrapModelAsync (listInnerAsync As Func(Of CancellationToken, Task(Of IPage(Of InnerResourceT))), listInnerNext As Func(Of String, CancellationToken, Task(Of IPage(Of InnerResourceT))), wrapModelAsync As Func(Of InnerResourceT, CancellationToken, Task(Of IFluentResourceT)), loadAllPages As Boolean, cancellationToken As CancellationToken) As Task(Of IPagedCollection(Of IFluentResourceT))

Parâmetros

listInnerAsync
Func<CancellationToken,Task<IPage<InnerResourceT>>>
listInnerNext
Func<String,CancellationToken,Task<IPage<InnerResourceT>>>
wrapModelAsync
Func<InnerResourceT,CancellationToken,Task<IFluentResourceT>>
loadAllPages
Boolean
cancellationToken
CancellationToken

Retornos

Task<IPagedCollection<IFluentResourceT>>

Aplica-se a