PostSharpAPI ReferencePost­Sharp.​AspectsIOn­Exception­Aspect
Open sandboxFocus

IOnExceptionAspect Interface

Runtime semantics of an aspect that, when applied on a method, defines an exception handler around the whole method body and lets the implementation of this interface handle the exception.

Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
public interface IOnExceptionAspect : IMethodLevelAspect, IAspect


Name Description

Method executed after the body of methods to which this aspect is applied, in case that the method failed with an exception (i.e., in a catch block).