Share via


FabricClient.TestManagementClient.GetChaosAsync Method

Definition

Gets a description of the state of Chaos.

public System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosDescription> GetChaosAsync (TimeSpan operationTimeout, System.Threading.CancellationToken cancellationToken);
member this.GetChaosAsync : TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosDescription>
Public Function GetChaosAsync (operationTimeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of ChaosDescription)

Parameters

operationTimeout
TimeSpan

The overall timeout for the operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

A description of the state of Chaos.

Exceptions

Action took more than its allocated time.

Any of the required arguments are null.

Remarks

The FaultAnalysisService must be enabled to use this API.

Applies to