다음을 통해 공유


FabricClient.QueryClient.GetApplicationPagedListAsync Method

Definition

Overloads

GetApplicationPagedListAsync(ApplicationQueryDescription)

Gets the details of applications created that match filters specified in query description (if any). If the applications do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetApplicationPagedListAsync(ApplicationQueryDescription, TimeSpan, CancellationToken)

Gets the details of applications created that match filters specified in query description (if any). If the applications do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

GetApplicationPagedListAsync(ApplicationQueryDescription)

Gets the details of applications created that match filters specified in query description (if any). If the applications do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

public System.Threading.Tasks.Task<System.Fabric.Query.ApplicationList> GetApplicationPagedListAsync (System.Fabric.Description.ApplicationQueryDescription applicationQueryDescription);
member this.GetApplicationPagedListAsync : System.Fabric.Description.ApplicationQueryDescription -> System.Threading.Tasks.Task<System.Fabric.Query.ApplicationList>
Public Function GetApplicationPagedListAsync (applicationQueryDescription As ApplicationQueryDescription) As Task(Of ApplicationList)

Parameters

applicationQueryDescription
ApplicationQueryDescription

The ApplicationQueryDescription that determines which applications should be queried.

Returns

A Task that represents the asynchronous query operation. The value of TResult parameter is an ApplicationList that represents the list of applications that respect the filters in the ApplicationQueryDescription and fit the page. If the provided query description has no matching applications, it returns a list of 0 entries.

Exceptions

Applies to

GetApplicationPagedListAsync(ApplicationQueryDescription, TimeSpan, CancellationToken)

Gets the details of applications created that match filters specified in query description (if any). If the applications do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page.

public System.Threading.Tasks.Task<System.Fabric.Query.ApplicationList> GetApplicationPagedListAsync (System.Fabric.Description.ApplicationQueryDescription applicationQueryDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetApplicationPagedListAsync : System.Fabric.Description.ApplicationQueryDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.ApplicationList>
Public Function GetApplicationPagedListAsync (applicationQueryDescription As ApplicationQueryDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of ApplicationList)

Parameters

applicationQueryDescription
ApplicationQueryDescription

The ApplicationQueryDescription that determines which applications should be queried.

timeout
TimeSpan

Specifies the duration this operation has to complete before timing out.

cancellationToken
CancellationToken

Propagates notification that operation should be canceled.

Returns

A Task that represents the asynchronous query operation. The value of TResult parameter is an ApplicationList that represents the list of applications that respect the filters in the ApplicationQueryDescription and fit the page. If the provided query description has no matching applications, it returns a list of 0 entries.

Exceptions

Applies to