PostSharp.ILAPI ReferencePost­Sharp.​AspectsMethod­Interception­ArgsInvoke­Async
Open sandboxFocus

MethodInterceptionArgs.InvokeAsync Method

InvokeAsync(Arguments)

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.

Declaration
public abstract MethodBindingInvokeAwaitable InvokeAsync(Arguments arguments)
Parameters
Type Name Description
Arguments arguments

Arguments passed to the intercepted method.

Returns
Type Description
MethodBindingInvokeAwaitable

The value that can be awaited to get the result of the intercepted method's invocation.