PostSharp 2023.0 / / Post­Sharp Documentation / 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: 2023.0.3.0 (2023.0.3.0)
public abstract MethodBindingInvokeAwaitable InvokeAsync(
	Arguments 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