IOnExceptionAspect Interface |
Runtime semantics of an aspect that, when applied on a method,
defines an exception handler around the whole method body
and let the implementation of this interface handle the exception.
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
C#
public interface IOnExceptionAspect : IMethodLevelAspect, IAspect
The IOnExceptionAspect type exposes the following members.
Name | Description | |
---|---|---|
OnException |
Method executed after the body of methods to which this aspect is applied,
in case that the method resulted with an exception (i.e., in a catch block).
| |
RuntimeInitialize |
Initializes the current aspect.
(Inherited from IMethodLevelAspect.) |
See OnExceptionAspect for details.