PostSharp//API Reference/Post­Sharp.​Aspects.​Advices/On­Method­Success­Advice
Open sandboxFocus

Class OnMethodSuccessAdvice

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

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

Constructors

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