PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver.​Method­Body­Wrapping Namespace / IMethod­Body­Wrapping­Advices Interface / IMethod­Body­Wrapping­Advices Methods / IMethod­Body­Wrapping­Advices.​Implement­On­Exit­Advice Method

IMethodBodyWrappingAdvices.ImplementOnExitAdvice Method

Emits code into the "finally" section in the method.

Namespace:  PostSharp.Sdk.AspectWeaver.MethodBodyWrapping
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
void ImplementOnExitAdvice(
	MethodBodyWrappingAdviseContext adviseContext
)

Parameters

adviseContext
Type: PostSharp.Sdk.AspectWeaver.MethodBodyWrapping.MethodBodyWrappingAdviseContext

[Missing <param name="adviseContext"/> documentation for "M:PostSharp.Sdk.AspectWeaver.MethodBodyWrapping.IMethodBodyWrappingAdvices.ImplementOnExitAdvice(PostSharp.Sdk.AspectWeaver.MethodBodyWrapping.MethodBodyWrappingAdviseContext)"]

See Also