PostSharp 4.3 / / Post­Sharp Documentation / 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
  Name Description
Public method OnEntry
Method executed before the body of methods to which this aspect is applied.
Public method OnException
Method executed after the body of methods to which this aspect is applied, in case that the method resulted with an exception.
Public method OnExit
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 method OnSuccess
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 method RuntimeInitialize
Initializes the current aspect.
(Inherited from IMethodLevelAspect.)
See Also