GrainServiceClient<TGrainService>.GetGrainService 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.
Overloads
GetGrainService(GrainId) |
Get a reference to the GrainService responsible for actioning the request based on the |
GetGrainService(SiloAddress) |
Get a reference to the GrainService responsible for actioning the request based on the |
GetGrainService(UInt32) |
Get a reference to the GrainService responsible for actioning the request based on the |
GetGrainService(GrainId)
Get a reference to the GrainService responsible for actioning the request based on the callingGrainId
.
protected TGrainService GetGrainService (Orleans.Runtime.GrainId callingGrainId);
member this.GetGrainService : Orleans.Runtime.GrainId -> 'GrainService
Protected Function GetGrainService (callingGrainId As GrainId) As TGrainService
Parameters
- callingGrainId
- GrainId
Returns
Applies to
GetGrainService(SiloAddress)
Get a reference to the GrainService responsible for actioning the request based on the destination
.
protected TGrainService GetGrainService (Orleans.Runtime.SiloAddress destination);
member this.GetGrainService : Orleans.Runtime.SiloAddress -> 'GrainService
Protected Function GetGrainService (destination As SiloAddress) As TGrainService
Parameters
- destination
- SiloAddress
Returns
Applies to
GetGrainService(UInt32)
Get a reference to the GrainService responsible for actioning the request based on the key
.
protected TGrainService GetGrainService (uint key);
member this.GetGrainService : uint32 -> 'GrainService
Protected Function GetGrainService (key As UInteger) As TGrainService
Parameters
- key
- UInt32