Share via


FabricClient.ClusterManagementClient.RollbackFabricUpgradeAsync Method

Definition

Overloads

RollbackFabricUpgradeAsync()

Rolls back the Service Fabric to upgrade the operation.

RollbackFabricUpgradeAsync(TimeSpan, CancellationToken)

Rolls back the Service Fabric to upgrade the operation.

RollbackFabricUpgradeAsync()

Rolls back the Service Fabric to upgrade the operation.

public System.Threading.Tasks.Task RollbackFabricUpgradeAsync ();
member this.RollbackFabricUpgradeAsync : unit -> System.Threading.Tasks.Task
Public Function RollbackFabricUpgradeAsync () As Task

Returns

The rollback Service Fabric to upgrade the operation.

Applies to

RollbackFabricUpgradeAsync(TimeSpan, CancellationToken)

Rolls back the Service Fabric to upgrade the operation.

public System.Threading.Tasks.Task RollbackFabricUpgradeAsync (TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.RollbackFabricUpgradeAsync : TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RollbackFabricUpgradeAsync (timeout As TimeSpan, cancellationToken As CancellationToken) As Task

Parameters

timeout
TimeSpan

The timespan that defines the maximum amount of time Service Fabric will allow this operation to continue before returning a timeout exception.

cancellationToken
CancellationToken

The 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 rollback Service Fabric to upgrade the operation.

Applies to