Share via


FabricClient.QueryClient.GetPartitionLoadInformationAsync Method

Definition

Overloads

GetPartitionLoadInformationAsync(Guid)

Gets the information about the partition load.

GetPartitionLoadInformationAsync(Guid, TimeSpan, CancellationToken)

Gets the information about the partition load.

GetPartitionLoadInformationAsync(Guid)

Gets the information about the partition load.

public System.Threading.Tasks.Task<System.Fabric.Query.PartitionLoadInformation> GetPartitionLoadInformationAsync (Guid partitionId);
member this.GetPartitionLoadInformationAsync : Guid -> System.Threading.Tasks.Task<System.Fabric.Query.PartitionLoadInformation>
Public Function GetPartitionLoadInformationAsync (partitionId As Guid) As Task(Of PartitionLoadInformation)

Parameters

partitionId
Guid

The partition ID of the partition to get load information for.

Returns

A task that represents the asynchronous query operation.

The returned task contains the load information of a partition as PartitionLoadInformation.

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

GetPartitionLoadInformationAsync(Guid, TimeSpan, CancellationToken)

Gets the information about the partition load.

public System.Threading.Tasks.Task<System.Fabric.Query.PartitionLoadInformation> GetPartitionLoadInformationAsync (Guid partitionId, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetPartitionLoadInformationAsync : Guid * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.PartitionLoadInformation>
Public Function GetPartitionLoadInformationAsync (partitionId As Guid, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of PartitionLoadInformation)

Parameters

partitionId
Guid

The partition ID of the partition to get load information 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 load information of a partition as PartitionLoadInformation.

Exceptions

Applies to