OnException(MethodExecutionArgs)
Method executed after the body of methods to which this aspect is applied,
in case that the method failed with an exception (i.e., in a catch
block).
Declaration
[HasInheritedAttribute]
void OnException(MethodExecutionArgs args)
Parameters
Type | Name | Description |
---|---|---|
MethodExecutionArgs | args | Advice arguments. |