Struct CircuitBreakerStateChangedEvent

Namespace
Kevlar
Assembly
Kevlar.dll

Describes a circuit breaker state transition.

public readonly struct CircuitBreakerStateChangedEvent
Inherited Members

Properties

Context

The triggering execution context. Manual monitor transitions receive a detached context with StrategyIndex equal to -1.

public KevlarContext Context { get; }

Property Value

KevlarContext

From

The state the circuit left.

public CircuitState From { get; }

Property Value

CircuitState

LastException

The exception from the failure that caused the transition, when applicable.

public Exception? LastException { get; }

Property Value

Exception

To

The state the circuit entered.

public CircuitState To { get; }

Property Value

CircuitState