Open sandboxFocus

Method OnException

OnException(MethodExecutionArgs)

Method executed after the body of the methods to which this aspect is applied, when the method failed with an exception, that is, in a catch block.

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

Advice arguments.