Dela via


FabricClient.ClusterManagementClient.GetUpgradeOrchestrationServiceStateAsync Method

Definition

Overloads

GetUpgradeOrchestrationServiceStateAsync()

Gets the Service Fabric Upgrade Orchestration Service state as a string.

GetUpgradeOrchestrationServiceStateAsync(TimeSpan, CancellationToken)

Gets the Service Fabric Upgrade Orchestration Service state as a string, by using the specified timeout and cancellation token.

GetUpgradeOrchestrationServiceStateAsync()

Gets the Service Fabric Upgrade Orchestration Service state as a string.

public System.Threading.Tasks.Task<string> GetUpgradeOrchestrationServiceStateAsync ();
member this.GetUpgradeOrchestrationServiceStateAsync : unit -> System.Threading.Tasks.Task<string>
Public Function GetUpgradeOrchestrationServiceStateAsync () As Task(Of String)

Returns

The Service Fabric Upgrade Orchestration Service state as a string.

Applies to

GetUpgradeOrchestrationServiceStateAsync(TimeSpan, CancellationToken)

Gets the Service Fabric Upgrade Orchestration Service state as a string, by using the specified timeout and cancellation token.

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

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

The Service Fabric Upgrade Orchestration Service state as a string, by using the specified timeout and cancellation token.

Applies to