Прочетете на английски Редактиране

Споделяне чрез


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.

C#
public static bool TryGetGuidKey(this Orleans.Runtime.GrainId grainId, out Guid key, out string? keyExt);

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

Продукт Версии
.NET Orleans 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0