MethodReturn(IMethodInvocation, Exception) Constructor

Definition

Namespace Stunts
Assembly Stunts.dll

Initializes a return that represents a thrown exception from the invocation.

public MethodReturn(IMethodInvocation invocation, Exception exception)

Parameters

invocation
IMethodInvocation

The invocation that generated the return.

exception
Exception

The exception resulting from the invocation.