Class PerformableFailureEventArgs
- Namespace
- CSF.Screenplay.Actors
- Assembly
- CSF.Screenplay.Abstractions.dll
A specialisation of PerformableEventArgs which describe the situation where an exception halted the execution of the performable item.
public class PerformableFailureEventArgs : PerformableEventArgs, IHasPerformanceIdentity
- Inheritance
-
PerformableFailureEventArgs
- Implements
- Inherited Members
Constructors
PerformableFailureEventArgs(Actor, object, Exception, PerformancePhase)
Initializes a new instance of PerformableFailureEventArgs.
public PerformableFailureEventArgs(Actor actor, object performable, Exception exception, PerformancePhase phase = PerformancePhase.Unspecified)
Parameters
actor
ActorThe actor
performable
objectThe performable item which raised the exception
exception
ExceptionThe exception which occurred
phase
PerformancePhaseThe phase of performance which was underway when the exception occurred
Properties
Exception
Gets the exception which halted the performable item.
public Exception Exception { get; }