Open sandboxFocus

Method OnExit

OnExit(MethodExecutionArgs)

Method executed after the body of the methods to which this aspect is applied, even when the method exits with an exception. This method is invoked from the finally block.

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

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