Share via


FabricClient.RepairManagementClient.UpdateRepairExecutionStateAsync Method

Definition

Overloads

UpdateRepairExecutionStateAsync(RepairTask)

Updates a repair task.

UpdateRepairExecutionStateAsync(RepairTask, TimeSpan, CancellationToken)

Updates a repair task.

UpdateRepairExecutionStateAsync(RepairTask)

Updates a repair task.

public System.Threading.Tasks.Task<long> UpdateRepairExecutionStateAsync (System.Fabric.Repair.RepairTask repairTask);
member this.UpdateRepairExecutionStateAsync : System.Fabric.Repair.RepairTask -> System.Threading.Tasks.Task<int64>
Public Function UpdateRepairExecutionStateAsync (repairTask As RepairTask) As Task(Of Long)

Parameters

repairTask
RepairTask

The modified repair task.

Returns

The new version number of the repair task.

Applies to

UpdateRepairExecutionStateAsync(RepairTask, TimeSpan, CancellationToken)

Updates a repair task.

public System.Threading.Tasks.Task<long> UpdateRepairExecutionStateAsync (System.Fabric.Repair.RepairTask repairTask, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.UpdateRepairExecutionStateAsync : System.Fabric.Repair.RepairTask * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int64>
Public Function UpdateRepairExecutionStateAsync (repairTask As RepairTask, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of Long)

Parameters

repairTask
RepairTask

The modified repair task.

timeout
TimeSpan

The maximum amount of time Service Fabric will allow this operation to continue before returning a TimeoutException.

cancellationToken
CancellationToken

The optional cancellation token that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation may still be completed even if it is cancelled.

Returns

The new version number of the repair task.

Applies to