共用方式為


FabricClient.ClusterManagementClient.GetClusterConfigurationUpgradeStatusAsync Method

Definition

Overloads

GetClusterConfigurationUpgradeStatusAsync(TimeSpan, CancellationToken)

Obtains the status of an upgrade in progress.

GetClusterConfigurationUpgradeStatusAsync(TimeSpan)

Obtains the status of an upgrade in progress.

GetClusterConfigurationUpgradeStatusAsync()

Obtains the status of an upgrade in progress.

GetClusterConfigurationUpgradeStatusAsync(CancellationToken)

Obtains the status of an upgrade in progress.

GetClusterConfigurationUpgradeStatusAsync(TimeSpan, CancellationToken)

Obtains the status of an upgrade in progress.

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

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 canceled.

Returns

FabricOrchestrationUpgradeProgress

Applies to

GetClusterConfigurationUpgradeStatusAsync(TimeSpan)

Obtains the status of an upgrade in progress.

public System.Threading.Tasks.Task<System.Fabric.FabricOrchestrationUpgradeProgress> GetClusterConfigurationUpgradeStatusAsync (TimeSpan timeout);
member this.GetClusterConfigurationUpgradeStatusAsync : TimeSpan -> System.Threading.Tasks.Task<System.Fabric.FabricOrchestrationUpgradeProgress>
Public Function GetClusterConfigurationUpgradeStatusAsync (timeout As TimeSpan) As Task(Of FabricOrchestrationUpgradeProgress)

Parameters

timeout
TimeSpan

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

Returns

FabricOrchestrationUpgradeProgress

Applies to

GetClusterConfigurationUpgradeStatusAsync()

Obtains the status of an upgrade in progress.

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

Returns

FabricOrchestrationUpgradeProgress

Applies to

GetClusterConfigurationUpgradeStatusAsync(CancellationToken)

Obtains the status of an upgrade in progress.

public System.Threading.Tasks.Task<System.Fabric.FabricOrchestrationUpgradeProgress> GetClusterConfigurationUpgradeStatusAsync (System.Threading.CancellationToken cancellationToken);
member this.GetClusterConfigurationUpgradeStatusAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.FabricOrchestrationUpgradeProgress>
Public Function GetClusterConfigurationUpgradeStatusAsync (cancellationToken As CancellationToken) As Task(Of FabricOrchestrationUpgradeProgress)

Parameters

cancellationToken
CancellationToken

Returns

FabricOrchestrationUpgradeProgress

Applies to