Afficher en anglais

Partage via


GrainExtensions.GetGrainId(IAddressable) Méthode

Définition

Retourne l’ID de grain correspondant au grain fourni.

C#
public static Orleans.Runtime.GrainId GetGrainId(this Orleans.Runtime.IAddressable grain);

Paramètres

grain
IAddressable

Le grain

Retours

ID de grain correspondant au grain fourni.

Exceptions

La valeur fournie a un type incorrect ou n’a pas d’ID.

S’applique à

Produit Versions
.NET Orleans 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0