Struct HandlingEvent

Namespace
Kevlar
Assembly
Kevlar.dll

Context supplied to an exception handling predicate.

public readonly struct HandlingEvent
Inherited Members

Properties

AttemptNumber

The zero-based attempt number for retry and hedging; zero for other strategies.

public int AttemptNumber { get; }

Property Value

int

Context

The active execution context. Do not retain this pooled object.

public KevlarContext Context { get; }

Property Value

KevlarContext

Exception

The exception being classified.

public Exception Exception { get; }

Property Value

Exception

StrategyIndex

The zero-based index of the strategy evaluating the outcome.

public int StrategyIndex { get; }

Property Value

int