共用方式為


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

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

Constructors

MessageCountDetails()

Initializes a new instance of the MessageCountDetails class.

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.

Properties

ActiveMessageCount

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

DeadLetterMessageCount

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

ScheduledMessageCount

Gets or sets the number scheduled messages.

TransferDeadLetterMessageCount

Gets or sets the number messages transferred into dead letters.

TransferMessageCount

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

Applies to