FabricClient.ApplicationManagementClient.RollbackApplicationUpgradeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.