Aracılığıyla paylaş


FabricClient.TestManagementClient.GetNodeTransitionProgressAsync Method

Definition

Gets the progress of a command started using StartNodeTransitionAsync().

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

Parameters

operationId
Guid

The operationId passed in when the test command was started using StartNodeTransitionAsync().

timeout
TimeSpan

Timeout.

cancellationToken
CancellationToken

This token can be signalled to abort this operation before it finishes

Returns

A PartitionRestartProgress object, containing TestCommandProgressState and PartitionRestartResult.

Remarks

The FaultAnalysisService must be enabled to use this API.

Applies to