Struct ResilienceEvent
Represents a resilience event that has been reported.
public readonly struct ResilienceEvent
- Inherited Members
Remarks
Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
Constructors
ResilienceEvent(ResilienceEventSeverity, string)
Initializes a new instance of the ResilienceEvent struct.
public ResilienceEvent(ResilienceEventSeverity severity, string eventName)
Parameters
severity
ResilienceEventSeverityThe severity of the event.
eventName
stringThe event name.
Properties
EventName
Gets the event name.
public string EventName { get; }
Property Value
Severity
Gets the severity of the event.
public ResilienceEventSeverity Severity { get; }
Property Value
Methods
ToString()
Returns an EventName.
public override string ToString()
Returns
- string
An event name.