MSMQMessage.ResponseQueueInfo
Collapse the table of content
Expand the table of content

MSMQMessage.ResponseQueueInfo

 

The ResponseQueueInfo property of the MSMQMessage object specifies a queue for receiving response messages returned from the receiving application.

Data type:

MSMQQueueInfo

Run-time access:

Read/write

Property ResponseQueueInfo As MSMQQueueInfo

An MSMQQueueInfo object that represents the response queue (in C++, a smart pointer to the IMSMQQueueInfo interface).

ResponseQueueInfo is used to send the format name of another queue to the receiving application. Typically, this is done so that the receiving application can send response messages back to the sending application. For information on response queues, see Response Queues.

System_CAPS_noteNote

The MSMQQueueInfo object of a private queue (which would be inaccessible otherwise) can also be sent using ResponseQueueInfo.Messages returned to the response queue are application-defined. The application must define what is in the messages as well as what is to be done when a message is received.

Equivalent API Function Property

With API function calls, the equivalent property for setting and retrieving the response queue is PROPID_M_RESP_QUEUE.

The following examples are included in Using Message Queuing.

For an example of

See

Sending a message that provides the format name of a response queue

Visual Basic Code Example: Requesting Response Messages

Retrieving a message from a queue and returning a response message

Visual Basic Code Example: Returning Response Messages

Windows NT/2000/XP: Included in Windows NT 4.0 SP3 and later.

Windows 95/98/Me: Included in Windows 95 and later.

Header: Declared in Mqoai.h.

Library: Use Mqoa.lib.

Community Additions

ADD
Show:
© 2016 Microsoft