PagedCollection<IFluentResourceT,InnerResourceT>.LoadPageWithWrapModelAsync(Func<CancellationToken,Task<IPage<InnerResourceT>>>, Func<String,CancellationToken,Task<IPage<InnerResourceT>>>, Func<InnerResourceT,CancellationToken,Task<IFluentResourceT>>, Boolean, CancellationToken) Method

Definition

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>>

Parameters

listInnerAsync
System.Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<InnerResourceT>>>
listInnerNext
System.Func<System.String,System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<InnerResourceT>>>
wrapModelAsync
System.Func<InnerResourceT,System.Threading.CancellationToken,System.Threading.Tasks.Task<IFluentResourceT>>
loadAllPages
System.Boolean
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<IPagedCollection<IFluentResourceT>>

Applies to