Edit

Share via


GrainIdKeyExtensions.GetIntegerKey Method

Definition

Overloads

GetIntegerKey(GrainId)

Returns the Int64 representation of a grain key.

GetIntegerKey(GrainId, String)

Returns the Int64 representation of a grain key.

GetIntegerKey(GrainId)

Returns the Int64 representation of a grain key.

public static long GetIntegerKey (this Orleans.Runtime.GrainId grainId);
static member GetIntegerKey : Orleans.Runtime.GrainId -> int64
<Extension()>
Public Function GetIntegerKey (grainId As GrainId) As Long

Parameters

grainId
GrainId

The grain to find the key for.

Returns

A Int64 representing the key for this grain.

Applies to

GetIntegerKey(GrainId, String)

Returns the Int64 representation of a grain key.

public static long GetIntegerKey (this Orleans.Runtime.GrainId grainId, out string? keyExt);
static member GetIntegerKey : Orleans.Runtime.GrainId * string -> int64
<Extension()>
Public Function GetIntegerKey (grainId As GrainId, ByRef keyExt As String) As Long

Parameters

grainId
GrainId

The grain id.

keyExt
String

The output parameter to return the extended key part of the grain primary key, if extended primary key was provided for that grain.

Returns

A long representing the key for this grain.

Applies to