PostSharpAPI ReferencePost­Sharp.​Aspects.​AdvicesOn­Method­Exception­Advice
Open sandboxFocus

Class OnMethodExceptionAdvice

Custom attribute that, when applied on a method of an aspect class, specifies that this method is an advice having the same semantics as OnException(MethodExecutionArgs).

Inheritance
OnMethodExceptionAdvice
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
[RequiresMethodExecutionAdviceAnalysis]
[RequiresDebuggerEnhancement]
public sealed class OnMethodExceptionAdvice : OnMethodBoundaryAdvice

Constructors

Name Description
OnMethodExceptionAdvice() PostSharp.Aspects.Advices.OnMethodExceptionAdvice