FabricClient.QueryClient.GetApplicationTypeListAsync Method

Definition

Overloads

GetApplicationTypeListAsync(String, TimeSpan, CancellationToken)

Gets the details for all the application types provisioned or being provisioned in the system or for the specified application type. For more functionality, use GetApplicationTypePagedListAsync(). This method will be deprecated in the future.

GetApplicationTypeListAsync()

Gets the details for all the application types provisioned or being provisioned in the system. For more functionality, use GetApplicationTypePagedListAsync(). This method will be deprecated in the future.

GetApplicationTypeListAsync(String)

Gets the details for all the application types provisioned or being provisioned in the system or for the specified application type. For more functionality, use GetApplicationTypePagedListAsync(). This method will be deprecated in the future.

GetApplicationTypeListAsync(String, TimeSpan, CancellationToken)

Gets the details for all the application types provisioned or being provisioned in the system or for the specified application type. For more functionality, use GetApplicationTypePagedListAsync(). This method will be deprecated in the future.

public System.Threading.Tasks.Task<System.Fabric.Query.ApplicationTypeList> GetApplicationTypeListAsync (string applicationTypeNameFilter, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetApplicationTypeListAsync : string * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.ApplicationTypeList>
Public Function GetApplicationTypeListAsync (applicationTypeNameFilter As String, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of ApplicationTypeList)

Parameters

applicationTypeNameFilter
String

The type name of the application to get service types for.

timeout
TimeSpan

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

cancellationToken
CancellationToken

Propagates notification that operations should be canceled.

Returns

A task that represents the asynchronous query operation.

The returned task contains the list of application types as ApplicationTypeList.

Exceptions

Applies to

GetApplicationTypeListAsync()

Gets the details for all the application types provisioned or being provisioned in the system. For more functionality, use GetApplicationTypePagedListAsync(). This method will be deprecated in the future.

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

Returns

A task that represents the asynchronous query operation.

The returned task contains the list of application types as ApplicationTypeList.

Exceptions

Applies to

GetApplicationTypeListAsync(String)

Gets the details for all the application types provisioned or being provisioned in the system or for the specified application type. For more functionality, use GetApplicationTypePagedListAsync(). This method will be deprecated in the future.

public System.Threading.Tasks.Task<System.Fabric.Query.ApplicationTypeList> GetApplicationTypeListAsync (string applicationTypeNameFilter);
member this.GetApplicationTypeListAsync : string -> System.Threading.Tasks.Task<System.Fabric.Query.ApplicationTypeList>
Public Function GetApplicationTypeListAsync (applicationTypeNameFilter As String) As Task(Of ApplicationTypeList)

Parameters

applicationTypeNameFilter
String

The type name of the application to get service types for.

Returns

A task that represents the asynchronous query operation.

The returned task contains the list of application types as ApplicationTypeList.

Exceptions

This operation has a timeout of 60 seconds.

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

Applies to