Skip to content

QueueId Methods

Identifier of a durable queue. Used by Orleans streaming extensions.

CompareTo(QueueId)

View source
public int CompareTo(QueueId other)
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.

Parameters

otherQueueId
An object to compare with this instance.

Returns

A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value Meaning
Less than zero This instance precedes other in the sort order.
Zero This instance occurs in the same position in the sort order as other.
Greater than zero This instance follows other in the sort order.

Equals(QueueId)

View source
public bool Equals(QueueId other)
Indicates whether the current object is equal to another object of the same type.

Parameters

otherQueueId
An object to compare with this object.

Returns

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

override
View source
public override bool Equals(object? obj)
Indicates whether this instance and a specified object are equal.

Parameters

objobject?
The object to compare with the current instance.

Returns

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode

override
View source
public override int GetHashCode()
Returns the hash code for this instance.

Returns

A 32-bit signed integer that is the hash code for this instance.

GetQueueId(string, uint, uint)

static
View source
public static QueueId GetQueueId(string queueName, uint queueId, uint hash)
Gets the queue identifier.

Parameters

queueNamestring
Name of the queue.
queueIduint
The queue identifier.
hashuint
The hash.

Returns

The queue identifier.

ToString

override
View source
public override string ToString()
Returns the fully qualified type name of this instance.

Returns

The fully qualified type name.

ToStringWithHashCode

View source
public string ToStringWithHashCode()
Returns a string representation of this instance which includes its uniform hash code.

Returns

A string representation of this instance which includes its uniform hash code.