Sdílet prostřednictvím


PagedCollection<IFluentResourceT,InnerResourceT>.LoadPage Method

Definition

Overloads

LoadPage(Func<CancellationToken,Task<IEnumerable<InnerResourceT>>>, Func<InnerResourceT,IFluentResourceT>, CancellationToken)
LoadPage(Func<CancellationToken,Task<IPage<InnerResourceT>>>, Func<String,CancellationToken,Task<IPage<InnerResourceT>>>, Func<InnerResourceT, IFluentResourceT>, Boolean, CancellationToken)

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