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(string, Guid, object, Exception, PerformancePhase)
Initializes a new instance of PerformableFailureEventArgs.
public PerformableFailureEventArgs(string actorName, Guid performanceIdentity, object performable, Exception exception, PerformancePhase phase = PerformancePhase.Unspecified)
Parameters
actorName
stringThe actor's name
performanceIdentity
GuidThe actor's performance identity
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; }