Edit

Share via


GrainId.Create Method

Definition

Overloads

Create(GrainType, IdSpan)

Creates a new GrainType instance.

Create(GrainType, String)

Creates a new GrainType instance.

Create(String, String)

Creates a new GrainType instance.

Create(GrainType, IdSpan)

Creates a new GrainType instance.

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

Parameters

type
GrainType
key
IdSpan

Returns

Applies to

Create(GrainType, String)

Creates a new GrainType instance.

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

Parameters

type
GrainType
key
String

Returns

Applies to

Create(String, String)

Creates a new GrainType instance.

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

Parameters

type
String
key
String

Returns

Applies to