共用方式為


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

適用於