Edit

Share via


GrainIdKeyExtensions.TryGetIntegerKey(GrainId, Int64, String) Method

Definition

Tries to parse the Key portion of the provided grain id to extract a Int64 key and String key extension.

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

Parameters

grainId
GrainId

The grain id.

key
Int64

The key.

keyExt
String

The key extension.

Returns

true when the grain id was successfully parsed, false otherwise.

Applies to