Open sandboxFocus

Method OnException

OnException(MethodExecutionArgs)

Method executed after the body of the methods to which this aspect is applied, when the method ended with an exception.

Declaration
[HasInheritedAttribute]
public virtual void OnException(MethodExecutionArgs args)
Parameters
Type Name Description
MethodExecutionArgs args

Event arguments specifying which method is being executed and which are its arguments.

Implements