共用方式為


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>

適用於