SALES: 1-800-867-1380

MessageCountDetails Class

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

System.Object
  Microsoft.ServiceBus.Messaging.MessageCountDetails

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public final class MessageCountDetails

The MessageCountDetails type exposes the following members.

  NameDescription
Public methodMessageCountDetails()Initializes a new instance of the MessageCountDetails class.
Public methodMessageCountDetails(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.
Top

  NameDescription
Public propertyActiveMessageCountGets or sets the number of active messages in the queue, topic, or subscription.
Public propertyDeadLetterMessageCountGets or sets the number of messages that are dead letters.
Public propertyScheduledMessageCountGets or sets the number scheduled messages.
Public propertyTransferDeadLetterMessageCountGets or sets the number messages transferred into dead letters.
Public propertyTransferMessageCountGets or sets the number of messages transferred to another queue, topic, or subscription.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

To access the message details, access the MessageCountDetails,MessageCountDetails, or MessageCountDetails properties.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft