GrainId.Create 方法

定义

重载

Create(GrainType, IdSpan)

创建一个新的 GrainType 实例。

Create(GrainType, String)

创建一个新的 GrainType 实例。

Create(String, String)

创建一个新的 GrainType 实例。

Create(GrainType, IdSpan)

创建一个新的 GrainType 实例。

public static Orleans.Runtime.GrainId Create (Orleans.Runtime.GrainType type, Orleans.Runtime.IdSpan key);
static member Create : Orleans.Runtime.GrainType * Orleans.Runtime.IdSpan -> Orleans.Runtime.GrainId
Public Shared Function Create (type As GrainType, key As IdSpan) As GrainId

参数

type
GrainType
key
IdSpan

返回

适用于

Create(GrainType, String)

创建一个新的 GrainType 实例。

public static Orleans.Runtime.GrainId Create (Orleans.Runtime.GrainType type, string key);
static member Create : Orleans.Runtime.GrainType * string -> Orleans.Runtime.GrainId
Public Shared Function Create (type As GrainType, key As String) As GrainId

参数

type
GrainType
key
String

返回

适用于

Create(String, String)

创建一个新的 GrainType 实例。

public static Orleans.Runtime.GrainId Create (string type, string key);
static member Create : string * string -> Orleans.Runtime.GrainId
Public Shared Function Create (type As String, key As String) As GrainId

参数

type
String
key
String

返回

适用于