PostSharp6.7//API Reference/Post­Sharp.​Aspects Namespace/Method­Interception­Args Class/Method­Interception­Args Methods/Method­Interception­Args.​Invoke Method

MethodInterceptionArgs.Invoke Method

Invokes the method that has been intercepted by calling the next node in the chain of invocation with given arguments, without affecting the property ReturnValue.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public abstract Object Invoke(
	Arguments arguments
)

Parameters

arguments
Type: PostSharp.Aspects.Arguments
Arguments passed to the intercepted method.

Return Value

Type: Object
Value returned by the intercepted method.
See Also