Sdílet prostřednictvím


MSMQQueueManagement

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

(Introduced in MSMQ 3.0.) The MSMQQueueManagement object represents the state of a destination queue. It can be used to do the following.

  • Obtain exactly-once-delivery information about transactional messages sent to the queue.

  • Obtain administrative information that is specific to a destination queue.

This object is implicitly created by a call to the MSMQManagement.Init method.

Methods

The MSMQQueueManagement object defines the following method.

Method Description
MSMQQueueManagement.EodGetReceiveInfo Returns an array of MSMQCollection objects containing exactly-once delivery (EOD) properties for each computer sending transactional messages to the queue.

Properties

The MSMQQueueManagement object defines the following properties.

Property Description
BytesInJournal Indicates the number of message bytes in the queue journal.

Run-time access: Read-only

Data type: Variant
JournalMessageCount Indicates the number of journal messages in the queue journal.

Run-time access: Read-only

Data type: Long

Requirements

Windows NT/2000/XP: Included in Windows XP and Windows Server 2003.

Windows 95/98/Me: Unsupported.

Header: Declared in Mqoai.h.

Library: Use Mqoa.lib.

See Also

Message Queuing COM Components