SystemTargetGrainId.CreateGrainServiceGrainId 方法

定义

GrainId为 grain 服务创建 。

public static Orleans.Runtime.GrainId CreateGrainServiceGrainId(int typeCode, string grainSystemId, Orleans.Runtime.SiloAddress address);
static member CreateGrainServiceGrainId : int * string * Orleans.Runtime.SiloAddress -> Orleans.Runtime.GrainId
Public Shared Function CreateGrainServiceGrainId (typeCode As Integer, grainSystemId As String, address As SiloAddress) As GrainId

参数

typeCode
Int32

类型代码。

grainSystemId
String

系统 ID。

address
SiloAddress

silo 地址。

返回

grain 服务实例的 grain ID。

适用于