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
actorActorThe actor
performableobjectThe performable item which raised the exception
exceptionExceptionThe exception which occurred
phasePerformancePhaseThe phase of performance which was underway when the exception occurred
Properties
Exception
Gets the exception which halted the performable item.
public Exception Exception { get; }