Edit

Share via


ChannelId Struct

Definition

Identifies a Channel within a provider

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

Properties

FullKey

Gets the full key.

Key

Gets the key.

Namespace

Gets the namespace.

Methods

CompareTo(ChannelId)

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(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.

Equals(ChannelId)

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

Equals(Object)

Indicates whether this instance and a specified object are equal.

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.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(ChannelId, ChannelId)

Compares two ChannelId instances for equality.

Inequality(ChannelId, ChannelId)

Compares two ChannelId instances for equality.

Explicit Interface Implementations

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

Applies to