Bewerken

Delen via


GrainExtensions.GetPrimaryKeyLong Method

Definition

Overloads

GetPrimaryKeyLong(IGrain)
GetPrimaryKeyLong(IAddressable)

Returns the long representation of a grain primary key.

GetPrimaryKeyLong(IGrain, String)
GetPrimaryKeyLong(IAddressable, String)

Returns the long representation of a grain primary key.

GetPrimaryKeyLong(IGrain)

Source:
GrainExtensions.cs
public static long GetPrimaryKeyLong (this Orleans.IGrain grain);
static member GetPrimaryKeyLong : Orleans.IGrain -> int64
<Extension()>
Public Function GetPrimaryKeyLong (grain As IGrain) As Long

Parameters

grain
IGrain

Returns

Applies to

GetPrimaryKeyLong(IAddressable)

Source:
GrainExtensions.cs

Returns the long representation of a grain primary key.

public static long GetPrimaryKeyLong (this Orleans.Runtime.IAddressable grain);
static member GetPrimaryKeyLong : Orleans.Runtime.IAddressable -> int64
<Extension()>
Public Function GetPrimaryKeyLong (grain As IAddressable) As Long

Parameters

grain
IAddressable

The grain to find the primary key for.

Returns

A long representing the primary key for this grain.

Exceptions

The provided grain does not have a Int64-based key.

Applies to

GetPrimaryKeyLong(IGrain, String)

Source:
GrainExtensions.cs
public static long GetPrimaryKeyLong (this Orleans.IGrain grain, out string keyExt);
static member GetPrimaryKeyLong : Orleans.IGrain * string -> int64
<Extension()>
Public Function GetPrimaryKeyLong (grain As IGrain, ByRef keyExt As String) As Long

Parameters

grain
IGrain
keyExt
String

Returns

Applies to

GetPrimaryKeyLong(IAddressable, String)

Source:
GrainExtensions.cs

Returns the long representation of a grain primary key.

public static long GetPrimaryKeyLong (this Orleans.Runtime.IAddressable grain, out string keyExt);
static member GetPrimaryKeyLong : Orleans.Runtime.IAddressable * string -> int64
<Extension()>
Public Function GetPrimaryKeyLong (grain As IAddressable, ByRef keyExt As String) As Long

Parameters

grain
IAddressable

The grain to find the primary key for.

keyExt
String

The output parameter to return the extended key part of the grain primary key, if extended primary key was provided for that grain.

Returns

A long representing the primary key for this grain.

Exceptions

The provided grain does not have a Int64-based key.

Applies to