Share via


FabricClient.QueryClient.GetServiceListAsync Method

Definition

Overloads

GetServiceListAsync(Uri, Uri, String, TimeSpan, CancellationToken)

Gets the details for all services of an application or just the specified service. If the services 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.

GetServiceListAsync(Uri, Uri, TimeSpan, CancellationToken)

Gets the details for all services of an application or just the specified service. If the services 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.

GetServiceListAsync(Uri)

Gets the information about all services belonging to the application specified by the application name URI. If the services 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.

GetServiceListAsync(Uri, Uri)

Gets the details for all services of an application or just the specified service. If the services 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.

GetServiceListAsync(Uri, Uri, String)

Gets the details for all services of an application or just the specified service. If the services 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.

GetServiceListAsync(Uri, Uri, String, TimeSpan, CancellationToken)

Gets the details for all services of an application or just the specified service. If the services 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.ServiceList> GetServiceListAsync(Uri applicationName, Uri serviceNameFilter, string continuationToken, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);

Parameters

applicationName
Uri

The name of the application to get services for.

serviceNameFilter
Uri

The name of the services to get details for.

continuationToken
String

The continuation token obtained from a previous query. This value can be passed along to this query to start where the last query left off. Not passing a continuation token means returned results start from the first page.

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 operation.

The returned task contains the list of services as ServiceList.

Exceptions

Applies to

Azure SDK for .NET Latest and Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy, Latest

GetServiceListAsync(Uri, Uri, TimeSpan, CancellationToken)

Gets the details for all services of an application or just the specified service. If the services 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.ServiceList> GetServiceListAsync(Uri applicationName, Uri serviceNameFilter, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);

Parameters

applicationName
Uri

The name of the application to get services for.

serviceNameFilter
Uri

The name of the services to get details 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 services as ServiceList.

Exceptions

Applies to

Azure SDK for .NET Latest and Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy, Latest

GetServiceListAsync(Uri)

Gets the information about all services belonging to the application specified by the application name URI. If the services 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.ServiceList> GetServiceListAsync(Uri applicationName);

Parameters

applicationName
Uri

The name of the application to get services for.

Returns

A task that represents the asynchronous query operation.

The returned task contains the list of services as ServiceList.

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

Azure SDK for .NET Latest and Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy, Latest

GetServiceListAsync(Uri, Uri)

Gets the details for all services of an application or just the specified service. If the services 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.ServiceList> GetServiceListAsync(Uri applicationName, Uri serviceNameFilter);

Parameters

applicationName
Uri

The name of the application to get services for.

serviceNameFilter
Uri

The name of the services to get details for.

Returns

A task that represents the asynchronous query operation.

The returned task contains the list of services as ServiceList.

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

Azure SDK for .NET Latest and Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy, Latest

GetServiceListAsync(Uri, Uri, String)

Gets the details for all services of an application or just the specified service. If the services 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.ServiceList> GetServiceListAsync(Uri applicationName, Uri serviceNameFilter, string continuationToken);

Parameters

applicationName
Uri

The name of the application to get services for.

serviceNameFilter
Uri

The name of the services to get details for.

continuationToken
String

The continuation token obtained from a previous query. This value can be passed along to this query to start where the last query left off. Not passing a continuation token means returned results start from the first page.

Returns

A task that represents the asynchronous operation.

The returned task contains the list of services as ServiceList.

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

Azure SDK for .NET Latest and Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy, Latest