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

MethodInterceptionArgs.InvokeAsync Method

Invokes asynchronously 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.0.35.0 (6.0.35.0)
Syntax
C#
public abstract MethodBindingInvokeAwaitable InvokeAsync(
	Arguments arguments
)

Parameters

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

Return Value

Type: MethodBindingInvokeAwaitable
The value that can be awaited to get the result of the intercepted method's invocation.
See Also