Share via


FabricClient.ApplicationManagementClient.GetApplicationUpgradeProgressAsync Method

Definition

Overloads

GetApplicationUpgradeProgressAsync(Uri)

Retrieves the upgrade progress of the specified application instance.

GetApplicationUpgradeProgressAsync(Uri, TimeSpan, CancellationToken)

Retrieves the upgrade progress of the specified application instance.

GetApplicationUpgradeProgressAsync(Uri)

Retrieves the upgrade progress of the specified application instance.

public System.Threading.Tasks.Task<System.Fabric.ApplicationUpgradeProgress> GetApplicationUpgradeProgressAsync (Uri applicationName);
member this.GetApplicationUpgradeProgressAsync : Uri -> System.Threading.Tasks.Task<System.Fabric.ApplicationUpgradeProgress>
Public Function GetApplicationUpgradeProgressAsync (applicationName As Uri) As Task(Of ApplicationUpgradeProgress)

Parameters

applicationName
Uri

The URI of the application instance name.

Returns

A Task whose result is the upgrade progress of the specified application instance.

Exceptions

The FabricClient object is in a closed state. Dispose of the FabricClient object you are using and instantiate a new FabricClient object.

ApplicationNotFound: The application does not exist.

The request timed out but may have already been accepted for processing by the system.

The request was canceled before the timeout expired but may have already been accepted for processing by the system.

Applies to

GetApplicationUpgradeProgressAsync(Uri, TimeSpan, CancellationToken)

Retrieves the upgrade progress of the specified application instance.

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

Parameters

applicationName
Uri

The URI of the application instance name.

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 whose result is the upgrade progress of the specified application instance.

Exceptions

The FabricClient object is in a closed state. Dispose of the FabricClient object you are using and instantiate a new FabricClient object.

ApplicationNotFound: The application does not exist.

The request timed out but may have already been accepted for processing by the system.

The request was canceled before the timeout expired but may have already been accepted for processing by the system.

Applies to