SystemTargetGrainId.Create 方法

定义

重载

Create(GrainType, SiloAddress)

创建一个新的 SystemTargetGrainId 实例。

Create(GrainType, SiloAddress, String)

创建一个新的 SystemTargetGrainId 实例。

Create(GrainType, SiloAddress)

创建一个新的 SystemTargetGrainId 实例。

public static Orleans.Runtime.SystemTargetGrainId Create (Orleans.Runtime.GrainType kind, Orleans.Runtime.SiloAddress address);
static member Create : Orleans.Runtime.GrainType * Orleans.Runtime.SiloAddress -> Orleans.Runtime.SystemTargetGrainId
Public Shared Function Create (kind As GrainType, address As SiloAddress) As SystemTargetGrainId

参数

kind
GrainType

粒度类型。

address
SiloAddress

系统目标所在的服务器。

返回

一个 SystemTargetGrainId

适用于

Create(GrainType, SiloAddress, String)

创建一个新的 SystemTargetGrainId 实例。

public static Orleans.Runtime.SystemTargetGrainId Create (Orleans.Runtime.GrainType kind, Orleans.Runtime.SiloAddress address, string? extraIdentifier);
static member Create : Orleans.Runtime.GrainType * Orleans.Runtime.SiloAddress * string -> Orleans.Runtime.SystemTargetGrainId
Public Shared Function Create (kind As GrainType, address As SiloAddress, extraIdentifier As String) As SystemTargetGrainId

参数

kind
GrainType

粒度类型。

address
SiloAddress

系统目标所在的服务器。

extraIdentifier
String

可选密钥扩展。

返回

一个 SystemTargetGrainId

适用于