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(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 string

The actor's name

performanceIdentity Guid

The actor's performance identity

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