FabricClient.QueryClient.GetApplicationTypePagedListAsync Method

Definition

Overloads

GetApplicationTypePagedListAsync()

Gets the details for all the application types provisioned or being provisioned in the system.

GetApplicationTypePagedListAsync(PagedApplicationTypeQueryDescription)

Gets the details for application types provisioned or being provisioned in the system which match filters provided by the queryDescription argument.

GetApplicationTypePagedListAsync(PagedApplicationTypeQueryDescription, TimeSpan, CancellationToken)

Gets the details for application types provisioned or being provisioned in the system which match filters provided by the queryDescription argument.

GetApplicationTypePagedListAsync()

Gets the details for all the application types provisioned or being provisioned in the system.

public System.Threading.Tasks.Task<System.Fabric.Query.ApplicationTypePagedList> GetApplicationTypePagedListAsync ();
member this.GetApplicationTypePagedListAsync : unit -> System.Threading.Tasks.Task<System.Fabric.Query.ApplicationTypePagedList>
Public Function GetApplicationTypePagedListAsync () As Task(Of ApplicationTypePagedList)

Returns

System.Threading.Tasks.Task<ApplicationTypePagedList>

A System.Threading.Tasks.Task that represents the asynchronous query operation. The value of TResult parameter is an ApplicationTypePagedList.

If no application types are found matching the filters provided, this query returns no application types rather than an error.

Exceptions

System.TimeoutException

See https://azure.microsoft.com/documentation/articles/service-fabric-errors-and-exceptions/ for handling common FabricClient failures.

Remarks

This is a paged query, meaning that if not all of the application types 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. For example, if there are 10000 application types but a page only fits the first 3000 application types, 3000 is returned. To access the rest of the results, retrieve subsequent pages by using the returned continuation token in the next query. A null continuation token is returned if there are no subsequent pages.

Each version of a particular application type is one entry in the result.

Applies to

GetApplicationTypePagedListAsync(PagedApplicationTypeQueryDescription)

Gets the details for application types provisioned or being provisioned in the system which match filters provided by the queryDescription argument.

public System.Threading.Tasks.Task<System.Fabric.Query.ApplicationTypePagedList> GetApplicationTypePagedListAsync (System.Fabric.Description.PagedApplicationTypeQueryDescription queryDescription);
member this.GetApplicationTypePagedListAsync : System.Fabric.Description.PagedApplicationTypeQueryDescription -> System.Threading.Tasks.Task<System.Fabric.Query.ApplicationTypePagedList>
Public Function GetApplicationTypePagedListAsync (queryDescription As PagedApplicationTypeQueryDescription) As Task(Of ApplicationTypePagedList)

Parameters

queryDescription
PagedApplicationTypeQueryDescription

A PagedApplicationTypeQueryDescription object describing which application types to return.

Returns

System.Threading.Tasks.Task<ApplicationTypePagedList>

A System.Threading.Tasks.Task that represents the asynchronous query operation. The value of TResult parameter is an ApplicationTypePagedList.

If no application types are found matching the filters provided, this query returns no application types rather than an error.

Exceptions

System.TimeoutException

See https://azure.microsoft.com/documentation/articles/service-fabric-errors-and-exceptions/ for handling common FabricClient failures.

Remarks

This is a paged query, meaning that if not all of the application types 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. For example, if there are 10000 application types but a page only fits the first 3000 application types, 3000 is returned. To access the rest of the results, retrieve subsequent pages by using the returned continuation token in the next query. A null continuation token is returned if there are no subsequent pages.

Each version of a particular application type is one entry in the result.

Applies to

GetApplicationTypePagedListAsync(PagedApplicationTypeQueryDescription, TimeSpan, CancellationToken)

Gets the details for application types provisioned or being provisioned in the system which match filters provided by the queryDescription argument.

public System.Threading.Tasks.Task<System.Fabric.Query.ApplicationTypePagedList> GetApplicationTypePagedListAsync (System.Fabric.Description.PagedApplicationTypeQueryDescription queryDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetApplicationTypePagedListAsync : System.Fabric.Description.PagedApplicationTypeQueryDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.ApplicationTypePagedList>

Parameters

queryDescription
PagedApplicationTypeQueryDescription

A PagedApplicationTypeQueryDescription object describing which application types to return.

timeout
System.TimeSpan

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

cancellationToken
System.Threading.CancellationToken

Propagates notification that operations should be canceled.

Returns

System.Threading.Tasks.Task<ApplicationTypePagedList>

A System.Threading.Tasks.Task that represents the asynchronous query operation. The value of TResult parameter is an ApplicationTypePagedList.

If no application types are found matching the filters provided, this query returns no application types rather than an error.

Exceptions

System.TimeoutException

See https://azure.microsoft.com/documentation/articles/service-fabric-errors-and-exceptions/ for handling common FabricClient failures.

Remarks

This is a paged query, meaning that if not all of the application types 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. For example, if there are 10000 application types but a page only fits the first 3000 application types, 3000 is returned. To access the rest of the results, retrieve subsequent pages by using the returned continuation token in the next query. A null continuation token is returned if there are no subsequent pages.

Each version of a particular application type is one entry in the result.

Applies to