IAsyncMethodBinding.InvokeAsync Method |
Invokes asynchronously the next node in the chain of invocation.
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
MethodBindingInvokeAwaitable InvokeAsync( ref Object instance, Arguments arguments )
Parameters
- instance
- Type: System.Object
Target instance on which the method should be invoked (null if the method is static). - arguments
- Type: PostSharp.Aspects.Arguments
Method arguments.
Return Value
Type: MethodBindingInvokeAwaitableThe value that can be awaited to get the result of the underlying method's invocation.
The instance parameter is passed by reference so that instance methods of value types ( struct in C#) are allowed to change the value of the instance.