Redigera

Dela via


GenericMethodInvoker.Invoke(IAddressable, Object[]) Method

Definition

Invoke the defined method on the provided grain instance with the given arguments.

public System.Threading.Tasks.Task<object> Invoke (Orleans.Runtime.IAddressable grain, object[] arguments);
member this.Invoke : Orleans.Runtime.IAddressable * obj[] -> System.Threading.Tasks.Task<obj>
Public Function Invoke (grain As IAddressable, arguments As Object()) As Task(Of Object)

Parameters

grain
IAddressable

The grain.

arguments
Object[]

The arguments to the method with the type parameters first, followed by the method parameters.

Returns

The invocation result.

Applies to