ChannelId.Create Method

Definition

Overloads

Create(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Initializes a new instance of the ChannelId struct.

Create(String, Guid)

Initializes a new instance of the ChannelId struct.

Create(String, String)

Initializes a new instance of the ChannelId struct.

Create(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Initializes a new instance of the ChannelId struct.

public static Orleans.BroadcastChannel.ChannelId Create (ReadOnlySpan<byte> ns, ReadOnlySpan<byte> key);
static member Create : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> Orleans.BroadcastChannel.ChannelId
Public Shared Function Create (ns As ReadOnlySpan(Of Byte), key As ReadOnlySpan(Of Byte)) As ChannelId

Parameters

ns
ReadOnlySpan<Byte>

The namespace.

key
ReadOnlySpan<Byte>

The key.

Returns

Applies to

Create(String, Guid)

Initializes a new instance of the ChannelId struct.

public static Orleans.BroadcastChannel.ChannelId Create (string ns, Guid key);
static member Create : string * Guid -> Orleans.BroadcastChannel.ChannelId
Public Shared Function Create (ns As String, key As Guid) As ChannelId

Parameters

ns
String

The namespace.

key
Guid

The key.

Returns

Applies to

Create(String, String)

Initializes a new instance of the ChannelId struct.

public static Orleans.BroadcastChannel.ChannelId Create (string ns, string key);
static member Create : string * string -> Orleans.BroadcastChannel.ChannelId
Public Shared Function Create (ns As String, key As String) As ChannelId

Parameters

ns
String

The namespace.

key
String

The key.

Returns

Applies to