ChannelId.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.