GrainExtensions.GetGrainId(IAddressable) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the grain id corresponding to the provided grain.
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
The grain
The grain id corresponding to the provided grain.
The provided value has the wrong type or has no id.
Toode | Versioonid |
---|---|
.NET Orleans | 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0 |