Table of Contents

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 Actor

The actor

performable object

The performable item which raised the exception

exception Exception

The exception which occurred

phase PerformancePhase

The phase of performance which was underway when the exception occurred

Properties

Exception

Gets the exception which halted the performable item.

public Exception Exception { get; }

Property Value

Exception