MessageCountDetails MessageCountDetails Class

Definition

This class contains properties that enable you to retrieve details of messages from sub-queues of primary messaging entities (queues, topics, subscriptions).

[DataContract(Name = "MessageCountDetails", Namespace = "http://schemas.microsoft.com/netservices/2011/06/servicebus")]
public sealed class MessageCountDetails<DataContract(Name:="MessageCountDetails", Namespace:="http://schemas.microsoft.com/netservices/2011/06/servicebus")>
Public NotInheritable Class MessageCountDetails
Inheritance
MessageCountDetailsMessageCountDetails
Attributes

Inherited Members

System.Object

Constructors

MessageCountDetails() MessageCountDetails()

Initializes a new instance of the MessageCountDetails class.

public MessageCountDetails()Public Sub New
Attributes

MessageCountDetails(Int64, Int64, Int64, Int64, Int64) MessageCountDetails(Int64, Int64, Int64, Int64, Int64)

Initializes a new instance of the MessageCountDetails class with the number of active messages, dead letters, scheduled messages, messages transferred to other queues, subscriptions, or topics, and the number of messages transferred to the dead letter queue.

public MessageCountDetails(long activeMessageCount, long deadletterMessageCount, long scheduledMessageCount, long transferMessageCount, long transferDlqMessageCount)Public Sub New(activeMessageCount As Long, deadletterMessageCount As Long, scheduledMessageCount As Long, transferMessageCount As Long, transferDlqMessageCount As Long)
Parameters
activeMessageCount
Int64 Int64

The number of active messages.

deadletterMessageCount
Int64 Int64

The number of dead letters.

scheduledMessageCount
Int64 Int64

The number of scheduled messages.

transferMessageCount
Int64 Int64

The number of messages transferred to other queues, subscriptions, or topics.

transferDlqMessageCount
Int64 Int64

The number of messages transferred to the dead letter queue.

Attributes

Properties

ActiveMessageCount ActiveMessageCount

Gets or sets the number of active messages in the queue, topic, or subscription.

[DataMember(Order = 65537)]
public long ActiveMessageCount { get; }<DataMember(Order:=65537)>
Public ReadOnly Property ActiveMessageCount As Long
Value
Int64 Int64

Returns Int64 that specifies the number of active messages.

Attributes

DeadLetterMessageCount DeadLetterMessageCount

Gets or sets the number of messages that are dead letters.

[DataMember(Order = 65538)]
public long DeadLetterMessageCount { get; }<DataMember(Order:=65538)>
Public ReadOnly Property DeadLetterMessageCount As Long
Value
Int64 Int64

Returns Int64that specifies the number of messages that are dead letters.

Attributes

ScheduledMessageCount ScheduledMessageCount

Gets or sets the number scheduled messages.

[DataMember(Order = 65539)]
public long ScheduledMessageCount { get; }<DataMember(Order:=65539)>
Public ReadOnly Property ScheduledMessageCount As Long
Value
Int64 Int64

Returns Int64the number of scheduled messages.

Attributes

TransferDeadLetterMessageCount TransferDeadLetterMessageCount

Gets or sets the number messages transferred into dead letters.

[DataMember(Order = 65541)]
public long TransferDeadLetterMessageCount { get; }<DataMember(Order:=65541)>
Public ReadOnly Property TransferDeadLetterMessageCount As Long
Value
Int64 Int64

Returns Int64that specifies the number messages transferred into dead letters.

Attributes

TransferMessageCount TransferMessageCount

Gets or sets the number of messages transferred to another queue, topic, or subscription.

[DataMember(Order = 65540)]
public long TransferMessageCount { get; }<DataMember(Order:=65540)>
Public ReadOnly Property TransferMessageCount As Long
Value
Int64 Int64

Returns Int64that specifies the number of messages transferred to another queue, topic, or subscription

Attributes