GenericMethodInvoker.Invoke(IAddressable, Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.