FabricClient.TestManagementClient.SetChaosScheduleAsync 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.
This API will set a description of the Chaos Schedule.
public System.Threading.Tasks.Task SetChaosScheduleAsync (System.Fabric.Chaos.DataStructures.ChaosScheduleDescription schedule, TimeSpan operationTimeout, System.Threading.CancellationToken cancellationToken);
member this.SetChaosScheduleAsync : System.Fabric.Chaos.DataStructures.ChaosScheduleDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SetChaosScheduleAsync (schedule As ChaosScheduleDescription, operationTimeout As TimeSpan, cancellationToken As CancellationToken) As Task
Parameters
- schedule
- ChaosScheduleDescription
Chaos Schedule description to be set.
- operationTimeout
- TimeSpan
The overall timeout for the operation.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
A task.
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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET