共用方式為


GrainServiceClient<TGrainService>.GetGrainService 方法

定義

多載

GetGrainService(GrainId)

取得負責根據 執行要求之 的 callingGrainId 參考 GrainService

GetGrainService(SiloAddress)

取得負責根據 執行要求之 的 destination 參考 GrainService

GetGrainService(UInt32)

取得負責根據 執行要求之 的 key 參考 GrainService

GetGrainService(GrainId)

取得負責根據 執行要求之 的 callingGrainId 參考 GrainService

protected TGrainService GetGrainService (Orleans.Runtime.GrainId callingGrainId);
member this.GetGrainService : Orleans.Runtime.GrainId -> 'GrainService
Protected Function GetGrainService (callingGrainId As GrainId) As TGrainService

參數

callingGrainId
GrainId

傳回

TGrainService

適用於

GetGrainService(SiloAddress)

取得負責根據 執行要求之 的 destination 參考 GrainService

protected TGrainService GetGrainService (Orleans.Runtime.SiloAddress destination);
member this.GetGrainService : Orleans.Runtime.SiloAddress -> 'GrainService
Protected Function GetGrainService (destination As SiloAddress) As TGrainService

參數

destination
SiloAddress

傳回

TGrainService

適用於

GetGrainService(UInt32)

取得負責根據 執行要求之 的 key 參考 GrainService

protected TGrainService GetGrainService (uint key);
member this.GetGrainService : uint32 -> 'GrainService
Protected Function GetGrainService (key As UInteger) As TGrainService

參數

key
UInt32

傳回

TGrainService

適用於