Edit

Share via


GrainIdKeyExtensions.CreateIntegerKey Method

Definition

Overloads

CreateIntegerKey(Int64)

Creates an IdSpan representing a Int64 key.

CreateIntegerKey(Int64, ReadOnlySpan<Byte>)

Creates an IdSpan representing a Int64 key and key extension string.

CreateIntegerKey(Int64, String)

Creates an IdSpan representing a Int64 key and key extension string.

CreateIntegerKey(Int64)

Creates an IdSpan representing a Int64 key.

public static Orleans.Runtime.IdSpan CreateIntegerKey (long key);
static member CreateIntegerKey : int64 -> Orleans.Runtime.IdSpan
Public Function CreateIntegerKey (key As Long) As IdSpan

Parameters

key
Int64

The key.

Returns

An IdSpan representing the provided key.

Applies to

CreateIntegerKey(Int64, ReadOnlySpan<Byte>)

Creates an IdSpan representing a Int64 key and key extension string.

public static Orleans.Runtime.IdSpan CreateIntegerKey (long key, ReadOnlySpan<byte> keyExtension);
static member CreateIntegerKey : int64 * ReadOnlySpan<byte> -> Orleans.Runtime.IdSpan
Public Function CreateIntegerKey (key As Long, keyExtension As ReadOnlySpan(Of Byte)) As IdSpan

Parameters

key
Int64

The key.

keyExtension
ReadOnlySpan<Byte>

The UTF-8 encoded key extension.

Returns

An IdSpan representing the provided key and key extension.

Applies to

CreateIntegerKey(Int64, String)

Creates an IdSpan representing a Int64 key and key extension string.

public static Orleans.Runtime.IdSpan CreateIntegerKey (long key, string? keyExtension);
static member CreateIntegerKey : int64 * string -> Orleans.Runtime.IdSpan
Public Function CreateIntegerKey (key As Long, keyExtension As String) As IdSpan

Parameters

key
Int64

The key.

keyExtension
String

The key extension.

Returns

An IdSpan representing the provided key and key extension.

Applies to