Struct OnFaultInjectedArguments
Arguments used by the fault chaos strategy to notify that an fault was injected.
public readonly struct OnFaultInjectedArguments
- Inherited Members
Constructors
OnFaultInjectedArguments(ResilienceContext, Exception)
Initializes a new instance of the OnFaultInjectedArguments struct.
public OnFaultInjectedArguments(ResilienceContext context, Exception fault)
Parameters
contextResilienceContextThe resilience context instance.
faultExceptionThe fault that was injected.
Properties
Context
Gets the resilience context instance.
public ResilienceContext Context { get; }
Property Value
Fault
Gets the fault that was injected.
public Exception Fault { get; }