NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Message.ResponseQueue

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

Property Value

The MessageQueue to which application-generated response messages are returned. The default is a null reference (in Visual Basic Nothing).

Exceptions

Exception Type Condition
InvalidOperationException The message queue is filtered not to read the ResponseQueue property.

Remarks

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.

See Also

Message Class | Message Members | System.Messaging Namespace | AdministrationQueue | DestinationQueue | TransactionStatusQueue