GrainExtensions.GetPrimaryKeyString Method
Definition
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.
Overloads
GetPrimaryKeyString(IGrainWithStringKey) | |
GetPrimaryKeyString(IAddressable) |
Returns the |
GetPrimaryKeyString(IGrainWithStringKey)
- Source:
- GrainExtensions.cs
public static string GetPrimaryKeyString (this Orleans.IGrainWithStringKey grain);
static member GetPrimaryKeyString : Orleans.IGrainWithStringKey -> string
<Extension()>
Public Function GetPrimaryKeyString (grain As IGrainWithStringKey) As String
Parameters
- grain
- IGrainWithStringKey
Returns
Applies to
GetPrimaryKeyString(IAddressable)
- Source:
- GrainExtensions.cs
Returns the string
primary key of the grain.
public static string GetPrimaryKeyString (this Orleans.Runtime.IAddressable grain);
static member GetPrimaryKeyString : Orleans.Runtime.IAddressable -> string
<Extension()>
Public Function GetPrimaryKeyString (grain As IAddressable) As String
Parameters
- grain
- IAddressable
The grain to find the primary key for.
Returns
A string
representing the primary key for this grain.