Redigera

Dela via


GrainIdKeyExtensions.TryGetGuidKey(GrainId, Guid, String) Method

Definition

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

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

Parameters

grainId
GrainId

The grain id.

key
Guid

The key.

keyExt
String

The key extension.

Returns

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

Applies to