StreamId.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(IStreamIdentity) |
Initializes a new instance of the StreamId struct. |
Create(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) |
Initializes a new instance of the StreamId struct. |
Create(String, Guid) |
Initializes a new instance of the StreamId struct. |
Create(String, Int64) |
Initializes a new instance of the StreamId struct. |
Create(String, String) |
Initializes a new instance of the StreamId struct. |
Create(IStreamIdentity)
Initializes a new instance of the StreamId struct.
public static Orleans.Runtime.StreamId Create (Orleans.Streams.IStreamIdentity streamIdentity);
static member Create : Orleans.Streams.IStreamIdentity -> Orleans.Runtime.StreamId
Public Shared Function Create (streamIdentity As IStreamIdentity) As StreamId
Parameters
- streamIdentity
- IStreamIdentity
The stream identity.
Returns
Applies to
Create(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
Initializes a new instance of the StreamId struct.
public static Orleans.Runtime.StreamId Create (ReadOnlySpan<byte> ns, ReadOnlySpan<byte> key);
static member Create : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> Orleans.Runtime.StreamId
Public Shared Function Create (ns As ReadOnlySpan(Of Byte), key As ReadOnlySpan(Of Byte)) As StreamId
Parameters
- ns
- ReadOnlySpan<Byte>
The namespace.
- key
- ReadOnlySpan<Byte>
The key.
Returns
Applies to
Create(String, Guid)
Initializes a new instance of the StreamId struct.
public static Orleans.Runtime.StreamId Create (string ns, Guid key);
static member Create : string * Guid -> Orleans.Runtime.StreamId
Public Shared Function Create (ns As String, key As Guid) As StreamId
Parameters
- ns
- String
The namespace.
- key
- Guid
The key.
Returns
Applies to
Create(String, Int64)
Initializes a new instance of the StreamId struct.
public static Orleans.Runtime.StreamId Create (string ns, long key);
static member Create : string * int64 -> Orleans.Runtime.StreamId
Public Shared Function Create (ns As String, key As Long) As StreamId
Parameters
- ns
- String
The namespace.
- key
- Int64
The key.
Returns
Applies to
Create(String, String)
Initializes a new instance of the StreamId struct.
public static Orleans.Runtime.StreamId Create (string ns, string key);
static member Create : string * string -> Orleans.Runtime.StreamId
Public Shared Function Create (ns As String, key As String) As StreamId
Parameters
- ns
- String
The namespace.
- key
- String
The key.