GrainId.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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