Share via


IGrainReferenceRuntime 介面

定義

GrainReference運行時間邏輯可供使用。 此服務並非由使用者程式代碼直接使用。

public interface IGrainReferenceRuntime
type IGrainReferenceRuntime = interface
Public Interface IGrainReferenceRuntime

方法

Cast(IAddressable, Type)

將提供的 grain 轉換為提供的 interfaceType

Convert(IAddressable, Type)

將提供的 grain 轉換為提供的 interfaceType

Convert<TGrainInterface>(IAddressable)

將提供的 grain 轉換為指定的介面。

InvokeMethod(GrainReference, IInvokable, InvokeMethodOptions)

在提供的粒紋介面上叫用指定的 void 傳回方法,而不需等候回應。

InvokeMethodAsync(GrainReference, IInvokable, InvokeMethodOptions)

在提供的粒紋介面上叫用指定的方法。

InvokeMethodAsync<T>(GrainReference, IInvokable, InvokeMethodOptions)

在提供的粒紋介面上叫用指定的方法。

InvokeMethodAsync<T>(GrainReference, Int32, Object[], InvokeMethodOptions, SiloAddress)

在遠端物件上叫用 方法。

InvokeOneWayMethod(GrainReference, Int32, Object[], InvokeMethodOptions, SiloAddress)

在遠端物件上叫用引發並忘記方法。

適用於