FabricClient.ApplicationManagementClient.RollbackApplicationUpgradeAsync Method

Definition

Overloads

RollbackApplicationUpgradeAsync(Uri)

Starts rolling back the current application upgrade.

RollbackApplicationUpgradeAsync(Uri, TimeSpan, CancellationToken)

Starts rolling back the current application upgrade

RollbackApplicationUpgradeAsync(Uri)

Starts rolling back the current application upgrade.

public System.Threading.Tasks.Task RollbackApplicationUpgradeAsync (Uri applicationName);
member this.RollbackApplicationUpgradeAsync : Uri -> System.Threading.Tasks.Task
Public Function RollbackApplicationUpgradeAsync (applicationName As Uri) As Task

Parameters

applicationName
Uri

Name of the application

Returns

A Task representing the operation.

Exceptions

ApplicationNotUpgrading: There is no pending upgrade for the specified application to rollback.

Applies to

RollbackApplicationUpgradeAsync(Uri, TimeSpan, CancellationToken)

Starts rolling back the current application upgrade

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

Parameters

applicationName
Uri

Name of the application

timeout
TimeSpan

The maximum amount of time the system will allow this operation to continue before returning TimeoutException.

cancellationToken
CancellationToken

The CancellationToken that the operation is observing. It can be used to propagate notification that the operation should be canceled.

Returns

A Task representing the operation.

Applies to