Share via


FabricClient.QueryClient.GetServiceGroupMemberListAsync Method

Definition

Overloads

GetServiceGroupMemberListAsync(Uri)

Get service group members of an application.

GetServiceGroupMemberListAsync(Uri, Uri)

Get service group members of an application.

GetServiceGroupMemberListAsync(Uri, Uri, TimeSpan, CancellationToken)

Gets the details for all partitions of a service. If the partitions 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.

GetServiceGroupMemberListAsync(Uri)

Get service group members of an application.

public System.Threading.Tasks.Task<System.Fabric.Query.ServiceGroupMemberList> GetServiceGroupMemberListAsync (Uri applicationName);
member this.GetServiceGroupMemberListAsync : Uri -> System.Threading.Tasks.Task<System.Fabric.Query.ServiceGroupMemberList>
Public Function GetServiceGroupMemberListAsync (applicationName As Uri) As Task(Of ServiceGroupMemberList)

Parameters

applicationName
Uri

The application name of the service group.

Returns

A task that represents the asynchronous query operation.

The returned task contains the list of service group members as ServiceGroupMemberList.

Exceptions

Applies to

GetServiceGroupMemberListAsync(Uri, Uri)

Get service group members of an application.

public System.Threading.Tasks.Task<System.Fabric.Query.ServiceGroupMemberList> GetServiceGroupMemberListAsync (Uri applicationName, Uri serviceNameFilter);
member this.GetServiceGroupMemberListAsync : Uri * Uri -> System.Threading.Tasks.Task<System.Fabric.Query.ServiceGroupMemberList>
Public Function GetServiceGroupMemberListAsync (applicationName As Uri, serviceNameFilter As Uri) As Task(Of ServiceGroupMemberList)

Parameters

applicationName
Uri

The application name of the service group.

serviceNameFilter
Uri

The service name of the service group.

Returns

A task that represents the asynchronous query operation.

The returned task contains the list of service group members as ServiceGroupMemberList.

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

GetServiceGroupMemberListAsync(Uri, Uri, TimeSpan, CancellationToken)

Gets the details for all partitions of a service. If the partitions 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.ServiceGroupMemberList> GetServiceGroupMemberListAsync (Uri applicationName, Uri serviceNameFilter, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetServiceGroupMemberListAsync : Uri * Uri * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.ServiceGroupMemberList>
Public Function GetServiceGroupMemberListAsync (applicationName As Uri, serviceNameFilter As Uri, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of ServiceGroupMemberList)

Parameters

applicationName
Uri

The application name of the service group.

serviceNameFilter
Uri

The service name of the service group.

timeout
TimeSpan

The timeout to the operation.

cancellationToken
CancellationToken

Notifies the operation should be canceled.

Returns

A task that represents the asynchronous query operation.

The returned task contains the list of service group members as ServiceGroupMemberList.

Exceptions

Applies to