Edit

Share via


GrainServiceClient<TGrainService>.GetGrainService Method

Definition

Overloads

GetGrainService(GrainId)

Get a reference to the GrainService responsible for actioning the request based on the callingGrainId.

GetGrainService(SiloAddress)

Get a reference to the GrainService responsible for actioning the request based on the destination.

GetGrainService(UInt32)

Get a reference to the GrainService responsible for actioning the request based on the key.

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

TGrainService

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

TGrainService

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

Returns

TGrainService

Applies to