ChannelId.Create 方法

定义

重载

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

初始化 ChannelId 结构的新实例。

Create(String, Guid)

初始化 ChannelId 结构的新实例。

Create(String, String)

初始化 ChannelId 结构的新实例。

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

初始化 ChannelId 结构的新实例。

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

参数

ns
ReadOnlySpan<Byte>

命名空间。

key
ReadOnlySpan<Byte>

键。

返回

适用于

Create(String, Guid)

初始化 ChannelId 结构的新实例。

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

参数

ns
String

命名空间。

key
Guid

键。

返回

适用于

Create(String, String)

初始化 ChannelId 结构的新实例。

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

参数

ns
String

命名空间。

key
String

键。

返回

适用于