Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

StreamId Struct

Definition

Namespace:
Orleans.Runtime
Assembly:
Orleans.Streaming.dll
Package:
Microsoft.Orleans.Streaming v10.0.0
Package:
Microsoft.Orleans.Streaming v7.2.5
Package:
Microsoft.Orleans.Streaming v8.0.0
Package:
Microsoft.Orleans.Streaming v8.1.0
Package:
Microsoft.Orleans.Streaming v8.2.0
Package:
Microsoft.Orleans.Streaming v9.0.0
Package:
Microsoft.Orleans.Streaming v9.1.2

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.

Identifies a Stream within a provider

[Orleans.GenerateSerializer]
[Orleans.Immutable]
[System.Serializable]
public readonly struct StreamId : IComparable<Orleans.Runtime.StreamId>, IEquatable<Orleans.Runtime.StreamId>, ISpanFormattable, System.Runtime.Serialization.ISerializable
[<Orleans.GenerateSerializer>]
[<Orleans.Immutable>]
[<System.Serializable>]
type StreamId = struct
 interface ISerializable
 interface ISpanFormattable
 interface IFormattable
Public Structure StreamId
Implements IComparable(Of StreamId), IEquatable(Of StreamId), ISerializable, ISpanFormattable
Inheritance
StreamId
Attributes
Implements

Properties

Name Description
FullKey

Gets the full key.

Key

Gets the key.

Namespace

Gets the namespace.

Methods

Name Description
CompareTo(StreamId)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

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.

Equals(Object)

Indicates whether this instance and a specified object are equal.

Equals(StreamId)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Returns the hash code for this instance.

GetKeyAsString()

Returns the Key component of this instance as a string.

GetNamespace()

Returns the Namespace component of this instance as a string.

GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

Populates a SerializationInfo with the data needed to serialize the target object.

Parse(ReadOnlySpan<Byte>)

Parses a StreamId instance from a String.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(StreamId, StreamId)

Compares two StreamId instances for equality.

Inequality(StreamId, StreamId)

Compares two StreamId instances for equality.

Explicit Interface Implementations

Name Description
IFormattable.ToString(String, IFormatProvider)
ISpanFormattable.TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Applies to