GrainExtensions.GetGrainId(IAddressable) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne l’ID de grain correspondant au grain fourni.
C#
public static Orleans.Runtime.GrainId GetGrainId(this Orleans.Runtime.IAddressable grain);
static member GetGrainId : Orleans.Runtime.IAddressable -> Orleans.Runtime.GrainId
<Extension()>
Public Function GetGrainId (grain As IAddressable) As GrainId
- grain
- IAddressable
Le grain
ID de grain correspondant au grain fourni.
La valeur fournie a un type incorrect ou n’a pas d’ID.
Produit | Versions |
---|---|
.NET Orleans | 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0 |