Gets or sets the queue which receives application-generated response messages.
[Visual Basic] Overridable Public Property ResponseQueue As MessageQueue [C#] public MessageQueue ResponseQueue {virtual get; virtual set;} [C++] public: __property virtual MessageQueue* get_ResponseQueue(); public: __property virtual void set_ResponseQueue(MessageQueue*); [JScript] public function get ResponseQueue() : MessageQueue; public function set ResponseQueue(MessageQueue);
The MessageQueue to which application-generated response messages are returned. The default is a null reference (in Visual Basic Nothing).
Exception Type | Condition |
---|---|
InvalidOperationException | The message queue is filtered not to read the ResponseQueue property. |
ResponseQueue provides access to the ResponseQueueInfo property of the Message Queuing MSMQMessage object.
Messages returned to the response queue are application-defined. That is, the application defines the content of the messages and action to take upon reception.
Message Class | Message Members | System.Messaging Namespace | AdministrationQueue | DestinationQueue | TransactionStatusQueue