Class CircuitStateChangedEventArgs
- Namespace
- Excalibur.Dispatch.Resilience
- Assembly
- Excalibur.Dispatch.dll
Event arguments for circuit breaker state change events.
public sealed class CircuitStateChangedEventArgs : EventArgs
- Inheritance
-
CircuitStateChangedEventArgs
- Inherited Members
- Extension Methods
Properties
CircuitName
Gets the name or identifier of the circuit breaker (e.g., transport name).
public string? CircuitName { get; init; }
Property Value
NewState
Gets the new state of the circuit breaker.
public CircuitState NewState { get; init; }
Property Value
PreviousState
Gets the previous state of the circuit breaker.
public CircuitState PreviousState { get; init; }
Property Value
Timestamp
Gets the timestamp when the state changed.
public DateTimeOffset Timestamp { get; init; }
Property Value
TriggeringException
Gets the exception that triggered the state change, if any.
public Exception? TriggeringException { get; init; }