共用方式為


FabricClient.ClusterManagementClient.UpdatePartitionMoveCostAsync Method

Definition

Updates partitions move cost information. If the output list of 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.UpdatePartitionMoveCostResultList> UpdatePartitionMoveCostAsync (System.Fabric.Description.UpdatePartitionMoveCostQueryDescription updatePartitionMoveCostQueryDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.UpdatePartitionMoveCostAsync : System.Fabric.Description.UpdatePartitionMoveCostQueryDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.UpdatePartitionMoveCostResultList>
Public Function UpdatePartitionMoveCostAsync (updatePartitionMoveCostQueryDescription As UpdatePartitionMoveCostQueryDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of UpdatePartitionMoveCostResultList)

Parameters

updatePartitionMoveCostQueryDescription
UpdatePartitionMoveCostQueryDescription

Query description UpdatePartitionMoveCostQueryDescription contains the list of partitions with their move cost descriptions as well as settings for paging output results.

timeout
TimeSpan

The length of time within which the async method must complete in order for the method to not time out.

cancellationToken
CancellationToken

A cancellation token for this method.

Returns

A Task that represents the asynchronous query operation. The value of TResult parameter is an UpdatePartitionMoveCostResultList that represents the list of output information per partition (partition ID with corresponding ErrorCode as an update result) that fit the page.

Applies to