共用方式為


FabricClient.ClusterManagementClient.GetFabricUpgradeProgressAsync Method

Definition

Overloads

GetFabricUpgradeProgressAsync(TimeSpan, CancellationToken)

Returns the progress of a Service Fabric upgrade process.

GetFabricUpgradeProgressAsync()

Returns the progress of a Service Fabric upgrade process.

GetFabricUpgradeProgressAsync(TimeSpan, CancellationToken)

Returns the progress of a Service Fabric upgrade process.

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

Parameters

timeout
TimeSpan

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

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 progress of a Service Fabric upgrade process.

Exceptions

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

Applies to

GetFabricUpgradeProgressAsync()

Returns the progress of a Service Fabric upgrade process.

public System.Threading.Tasks.Task<System.Fabric.FabricUpgradeProgress> GetFabricUpgradeProgressAsync ();
member this.GetFabricUpgradeProgressAsync : unit -> System.Threading.Tasks.Task<System.Fabric.FabricUpgradeProgress>
Public Function GetFabricUpgradeProgressAsync () As Task(Of FabricUpgradeProgress)

Returns

The progress of a Service Fabric upgrade process.

Exceptions

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

Applies to