PagedCollection<IFluentResourceT,InnerResourceT>.LoadPage 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.
Overloads
LoadPage(Func<CancellationToken,Task<IEnumerable<InnerResourceT>>>, Func<InnerResourceT,IFluentResourceT>, CancellationToken)
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<IFluentResourceT>> LoadPage (Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<InnerResourceT>>> listInnerAsync, Func<InnerResourceT,IFluentResourceT> wrapModel, System.Threading.CancellationToken cancellationToken);
static member LoadPage : Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<seq<'InnerResourceT>>> * Func<'InnerResourceT, 'IFluentResourceT> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'IFluentResourceT>>
Public Shared Function LoadPage (listInnerAsync As Func(Of CancellationToken, Task(Of IEnumerable(Of InnerResourceT))), wrapModel As Func(Of InnerResourceT, IFluentResourceT), cancellationToken As CancellationToken) As Task(Of IPagedCollection(Of IFluentResourceT))
Parameters
- listInnerAsync
- Func<CancellationToken,Task<IEnumerable<InnerResourceT>>>
- wrapModel
- Func<InnerResourceT,IFluentResourceT>
- cancellationToken
- CancellationToken
Returns
Task<IPagedCollection<IFluentResourceT>>
Applies to
LoadPage(Func<CancellationToken,Task<IPage<InnerResourceT>>>, Func<String,CancellationToken,Task<IPage<InnerResourceT>>>, Func<InnerResourceT, IFluentResourceT>, Boolean, CancellationToken)
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<IFluentResourceT>> LoadPage (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,IFluentResourceT> wrapModel, bool loadAllPages, System.Threading.CancellationToken cancellationToken);
static member LoadPage : 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, 'IFluentResourceT> * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'IFluentResourceT>>
Public Shared Function LoadPage (listInnerAsync As Func(Of CancellationToken, Task(Of IPage(Of InnerResourceT))), listInnerNext As Func(Of String, CancellationToken, Task(Of IPage(Of InnerResourceT))), wrapModel As Func(Of InnerResourceT, 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>>>
- wrapModel
- Func<InnerResourceT,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