Table of Contents

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

string

NewState

Gets the new state of the circuit breaker.

public CircuitState NewState { get; init; }

Property Value

CircuitState

PreviousState

Gets the previous state of the circuit breaker.

public CircuitState PreviousState { get; init; }

Property Value

CircuitState

Timestamp

Gets the timestamp when the state changed.

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset

TriggeringException

Gets the exception that triggered the state change, if any.

public Exception? TriggeringException { get; init; }

Property Value

Exception