GrainReference.InvokeMethodAsync<T> 方法

定义

从生成的代码调用。

protected System.Threading.Tasks.Task<T> InvokeMethodAsync<T> (int methodId, object[] arguments, Orleans.CodeGeneration.InvokeMethodOptions options = Orleans.CodeGeneration.InvokeMethodOptions.None, Orleans.Runtime.SiloAddress silo = default);
member this.InvokeMethodAsync : int * obj[] * Orleans.CodeGeneration.InvokeMethodOptions * Orleans.Runtime.SiloAddress -> System.Threading.Tasks.Task<'T>
Protected Function InvokeMethodAsync(Of T) (methodId As Integer, arguments As Object(), Optional options As InvokeMethodOptions = Orleans.CodeGeneration.InvokeMethodOptions.None, Optional silo As SiloAddress = Nothing) As Task(Of T)

类型参数

T

参数

methodId
Int32
arguments
Object[]

返回

Task<T>

适用于