Dela via


FabricClient.RepairManagementClient.DeleteRepairTaskAsync Method

Definition

Overloads

DeleteRepairTaskAsync(String, Int64)

Deletes the given repair task.

DeleteRepairTaskAsync(String, Int64, TimeSpan, CancellationToken)

Deletes the given repair task.

DeleteRepairTaskAsync(String, Int64)

Deletes the given repair task.

public System.Threading.Tasks.Task DeleteRepairTaskAsync (string repairTaskId, long version);
member this.DeleteRepairTaskAsync : string * int64 -> System.Threading.Tasks.Task
Public Function DeleteRepairTaskAsync (repairTaskId As String, version As Long) As Task

Parameters

repairTaskId
String

The ID of the completed repair task to be deleted.

version
Int64

The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current value of the repair task. If zero, then no version check is performed.

Returns

A task representing the asynchronous operation.

Applies to

DeleteRepairTaskAsync(String, Int64, TimeSpan, CancellationToken)

Deletes the given repair task.

public System.Threading.Tasks.Task DeleteRepairTaskAsync (string repairTaskId, long version, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.DeleteRepairTaskAsync : string * int64 * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteRepairTaskAsync (repairTaskId As String, version As Long, timeout As TimeSpan, cancellationToken As CancellationToken) As Task

Parameters

repairTaskId
String

The ID of the completed repair task to be deleted.

version
Int64

The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current value of the repair task. If zero, then no version check is performed.

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

A task representing the asynchronous operation.

Applies to