This is the online documentation for PostSharp 4.3.
Download PDF or CHM. Go to v4.3 or v5.0
IOnMethodBoundaryAspect Interface
Runtime semantics of OnMethodBoundaryAspect.

Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.31.0 (4.3.31.0)
Syntax
C#
public interface IOnMethodBoundaryAspect : IMethodLevelAspect, 
	IAspect

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.)
Top
Remarks

See OnMethodBoundaryAspect for details.

See Also