FabricClient.ClusterManagementClient.SetUpgradeOrchestrationServiceStateAsync 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
SetUpgradeOrchestrationServiceStateAsync(String, TimeSpan, CancellationToken) |
Sets the Service Fabric Upgrade Orchestration Service state as a string, by using the specified timeout and cancellation token. |
SetUpgradeOrchestrationServiceStateAsync(String) |
Sets the Service Fabric Upgrade Orchestration Service state as a string. |
SetUpgradeOrchestrationServiceStateAsync(String, TimeSpan, CancellationToken)
Sets the Service Fabric Upgrade Orchestration Service state as a string, by using the specified timeout and cancellation token.
public System.Threading.Tasks.Task<System.Fabric.FabricUpgradeOrchestrationServiceState> SetUpgradeOrchestrationServiceStateAsync (string state, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.SetUpgradeOrchestrationServiceStateAsync : string * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.FabricUpgradeOrchestrationServiceState>
Public Function SetUpgradeOrchestrationServiceStateAsync (state As String, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of FabricUpgradeOrchestrationServiceState)
Parameters
- state
- String
state input
- 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, by using the specified timeout and cancellation token.
Applies to
SetUpgradeOrchestrationServiceStateAsync(String)
Sets the Service Fabric Upgrade Orchestration Service state as a string.
public System.Threading.Tasks.Task<System.Fabric.FabricUpgradeOrchestrationServiceState> SetUpgradeOrchestrationServiceStateAsync (string state);
member this.SetUpgradeOrchestrationServiceStateAsync : string -> System.Threading.Tasks.Task<System.Fabric.FabricUpgradeOrchestrationServiceState>
Public Function SetUpgradeOrchestrationServiceStateAsync (state As String) As Task(Of FabricUpgradeOrchestrationServiceState)
Parameters
- state
- String
state input
Returns
Task
Applies to
Azure SDK for .NET