Bewerken

Delen via


GrainExtensions.GetPrimaryKeyString Method

Definition

Overloads

GetPrimaryKeyString(IGrainWithStringKey)
GetPrimaryKeyString(IAddressable)

Returns the string primary key of the grain.

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

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.

Applies to