Open sandboxFocus

Method InvokeAsync

InvokeAsync(ref object, Arguments)

Invokes asynchronously the next node in the chain of invocation.

Declaration
MethodBindingInvokeAwaitable InvokeAsync(ref object instance, Arguments arguments)
Parameters
Type Name Description
object instance

Target instance on which the method should be invoked (null if the method is static).

Arguments arguments

Method arguments.

Returns
Type Description
MethodBindingInvokeAwaitable

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

Remarks

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.