MessageCountDetails MessageCountDetails Class

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

Syntax

Declaration

[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 Hierarchy

Constructors summary

Initializes a new instance of the MessageCountDetails class.

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.

Properties summary

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

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

Gets or sets the number scheduled messages.

Gets or sets the number messages transferred into dead letters.

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

Constructors

  • MessageCountDetails()
    MessageCountDetails()

    Initializes a new instance of the MessageCountDetails class.

    public MessageCountDetails()Public Sub New
  • 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

      The number of active messages.

    • deadletterMessageCount

      The number of dead letters.

    • scheduledMessageCount

      The number of scheduled messages.

    • transferMessageCount

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

    • transferDlqMessageCount

      The number of messages transferred to the dead letter queue.

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

    Property Value

  • 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

    Property Value

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

  • 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

    Property Value

  • 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

    Property Value

    • Returns Int64that specifies the number messages transferred into dead letters.

  • 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

    Property Value

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

Details

Assembly

Microsoft.ServiceBus.dll