Compartir a través de


MSMQDestination

 

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 MSMQDestination object can represent one or more queues. The MSMQDestination object can be used to send messages and to specify multiple response queues.

Methods

The MSMQDestination object defines the following methods.

Method Description
MSMQDestination.Close Closes the MSMQDestination object after sending messages.
MSMQDestination.Open Opens the MSMQDestination object for sending messages.

Properties

The MSMQDestination object defines the following properties.

Property Description
MSMQDestination.ADsPath Specifies the ADs path to a distribution list, public queue, or queue alias object stored in Active Directory Domain Services (AD DS).

Run-time access: Read/write

Data type: String
MSMQDestination.FormatName Specifies a public format name, private format name, direct format name, distribution list format name, multicast address format name, multiple-element format name, or the format name of a queue alias for sending messages.

Run-time access: Read/write

Data type: String
MSMQDestination.IsOpen Provides an indicator of whether or not the MSMQDestination object is open for sending messages.

Run-time access: Read-only

Data type: Boolean
MSMQDestination.PathName Specifies the path name of a public or private queue.

Run-time access: Read/write

Data type: String

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