FabricClient.TestManagementClient.GetPartitionQuorumLossProgressAsync Method

Definition

Overloads

GetPartitionQuorumLossProgressAsync(Guid)

Gets the progress of a test command started using StartPartitionQuorumLossAsync().

GetPartitionQuorumLossProgressAsync(Guid, CancellationToken)

Gets the progress of a test command started using StartPartitionQuorumLossAsync().

GetPartitionQuorumLossProgressAsync(Guid, TimeSpan)

Gets the progress of a test command started using StartPartitionQuorumLossAsync().

GetPartitionQuorumLossProgressAsync(Guid, TimeSpan, CancellationToken)

Gets the progress of a test command started using StartPartitionQuorumLossAsync().

GetPartitionQuorumLossProgressAsync(Guid)

Gets the progress of a test command started using StartPartitionQuorumLossAsync().

public System.Threading.Tasks.Task<System.Fabric.PartitionQuorumLossProgress> GetPartitionQuorumLossProgressAsync (Guid operationId);
member this.GetPartitionQuorumLossProgressAsync : Guid -> System.Threading.Tasks.Task<System.Fabric.PartitionQuorumLossProgress>
Public Function GetPartitionQuorumLossProgressAsync (operationId As Guid) As Task(Of PartitionQuorumLossProgress)

Parameters

operationId
Guid

The operationId passed in when the test command was starting using StartPartitionQuorumLossAsync().

Returns

A PartitionQuorumLossProgress object, containing TestCommandProgressState and PartitionQuorumLossResult.

Remarks

The FaultAnalysisService must be enabled to use this API.

If the returned PartitionQuorumLossProgress.State == Faulted, examine PartitionQuorumLossProgress.Result.Exception to determine why. PartitionQuorumLossProgress.Result.Exception values: - ArgumentException - the input was invalid. - FabricException, with an ErrorCode property of: - PartitionNotFound - the specified partition was not found, or is not a partition that belongs to the specified service. - FabricInvalidForStatelessServicesException - this operation is not valid for stateless services. - FabricOnlyValidForStatefulPersistentServicesException - this operation is not valid for stateful in-memory services.

Applies to

GetPartitionQuorumLossProgressAsync(Guid, CancellationToken)

Gets the progress of a test command started using StartPartitionQuorumLossAsync().

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

Parameters

operationId
Guid

The operationId passed in when the test command was starting using StartPartitionQuorumLossAsync().

cancellationToken
CancellationToken

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

Returns

A PartitionQuorumLossProgress object, containing TestCommandProgressState and PartitionQuorumLossResult.

Remarks

The FaultAnalysisService must be enabled to use this API.

If the returned PartitionQuorumLossProgress.State == Faulted, examine PartitionQuorumLossProgress.Result.Exception to determine why. PartitionQuorumLossProgress.Result.Exception values: - ArgumentException - the input was invalid. - FabricException, with an ErrorCode property of: - PartitionNotFound - the specified partition was not found, or is not a partition that belongs to the specified service. - FabricInvalidForStatelessServicesException - this operation is not valid for stateless services. - FabricOnlyValidForStatefulPersistentServicesException - this operation is not valid for stateful in-memory services.

Applies to

GetPartitionQuorumLossProgressAsync(Guid, TimeSpan)

Gets the progress of a test command started using StartPartitionQuorumLossAsync().

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

Parameters

operationId
Guid

The operationId passed in when the test command was starting using StartPartitionQuorumLossAsync().

timeout
TimeSpan

Timeout.

Returns

A PartitionQuorumLossProgress object, containing TestCommandProgressState and PartitionQuorumLossResult.

Remarks

The FaultAnalysisService must be enabled to use this API.

If the returned PartitionQuorumLossProgress.State == Faulted, examine PartitionQuorumLossProgress.Result.Exception to determine why. PartitionQuorumLossProgress.Result.Exception values: - ArgumentException - the input was invalid. - FabricException, with an ErrorCode property of: - PartitionNotFound - the specified partition was not found, or is not a partition that belongs to the specified service. - FabricInvalidForStatelessServicesException - this operation is not valid for stateless services. - FabricOnlyValidForStatefulPersistentServicesException - this operation is not valid for stateful in-memory services.

Applies to

GetPartitionQuorumLossProgressAsync(Guid, TimeSpan, CancellationToken)

Gets the progress of a test command started using StartPartitionQuorumLossAsync().

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

Parameters

operationId
Guid

The operationId passed in when the test command was starting using StartPartitionQuorumLossAsync().

timeout
TimeSpan

Timeout.

cancellationToken
CancellationToken

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

Returns

A PartitionQuorumLossProgress object, containing TestCommandProgressState and PartitionQuorumLossResult.

Remarks

The FaultAnalysisService must be enabled to use this API.

If the returned PartitionQuorumLossProgress.State == Faulted, examine PartitionQuorumLossProgress.Result.Exception to determine why. PartitionQuorumLossProgress.Result.Exception values: - ArgumentException - the input was invalid. - FabricException, with an ErrorCode property of: - PartitionNotFound - the specified partition was not found, or is not a partition that belongs to the specified service. - FabricInvalidForStatelessServicesException - this operation is not valid for stateless services. - FabricOnlyValidForStatefulPersistentServicesException - this operation is not valid for stateful in-memory services.

Applies to