PostSharp5.0/API Reference/Post­Sharp.​Aspects Namespace/IOn­Method­Boundary­Aspect Interface/IOn­Method­Boundary­Aspect Methods

IOnMethodBoundaryAspect Methods

The IOnMethodBoundaryAspect type exposes the following members.

Methods
  NameDescription
Public methodOnEntry
Method executed before the body of methods to which this aspect is applied.
Public methodOnException
Method executed after the body of methods to which this aspect is applied, in case that the method resulted with an exception.
Public methodOnExit
Method executed after the body of methods to which this aspect is applied, even when the method exists with an exception (this method is invoked from the finally block).
Public methodOnSuccess
Method executed after the body of methods to which this aspect is applied, but only when the method successfully returns (i.e. when no exception flies out the method.).
Public methodRuntimeInitialize
Initializes the current aspect.
(Inherited from IMethodLevelAspect.)
See Also