Language

ScenarioFailureBehavior Struct

Definition

Enum of how a scenario run reacts when an action fails.

public readonly struct ScenarioFailureBehavior : IEquatable<Azure.ResourceManager.Chaos.Models.ScenarioFailureBehavior>
type ScenarioFailureBehavior = struct
Public Structure ScenarioFailureBehavior
Implements IEquatable(Of ScenarioFailureBehavior)
Inheritance
ScenarioFailureBehavior
Implements

Constructors

Name Description
ScenarioFailureBehavior(String)

Initializes a new instance of ScenarioFailureBehavior.

Properties

Name Description
Continue

The action failure is suppressed: it does not by itself end the scenario run, and the run continues with its remaining actions. Suppression affects the run's result only. It does not change dependency scheduling, which stays under the control of each action's runAfter — an action that should still start after a failed dependency says so there. A run that completes normally and whose action failures were all suppressed terminates as PartiallySucceeded. Any failure that is not suppressed still drives the run to Failed, and cancellation keeps its existing result.

Stop

The action failure stops the scenario run and drives it to the Failed terminal state. This is the effective behavior when no failureBehavior is supplied.

Methods

Name Description
Equals(ScenarioFailureBehavior)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(ScenarioFailureBehavior, ScenarioFailureBehavior)

Determines if two ScenarioFailureBehavior values are the same.

Implicit(String to Nullable<ScenarioFailureBehavior>)
Implicit(String to ScenarioFailureBehavior)

Converts a string to a ScenarioFailureBehavior.

Inequality(ScenarioFailureBehavior, ScenarioFailureBehavior)

Determines if two ScenarioFailureBehavior values are not the same.

Applies to