PagedCollection<IFluentResourceT,InnerResourceT>.LoadPageWithWrapModelAsync 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 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))
Parameters
- listInnerAsync
- Func<CancellationToken,Task<IPage<InnerResourceT>>>
- listInnerNext
- Func<String,CancellationToken,Task<IPage<InnerResourceT>>>
- wrapModelAsync
- Func<InnerResourceT,CancellationToken,Task<IFluentResourceT>>
- loadAllPages
- Boolean
- cancellationToken
- CancellationToken
Returns
Task<IPagedCollection<IFluentResourceT>>
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET