Message.ResponseQueue Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the queue that receives application-generated response messages.
public:
property System::Messaging::MessageQueue ^ ResponseQueue { System::Messaging::MessageQueue ^ get(); void set(System::Messaging::MessageQueue ^ value); };
[System.Messaging.MessagingDescription("MsgResponseQueue")]
public System.Messaging.MessageQueue ResponseQueue { get; set; }
[<System.Messaging.MessagingDescription("MsgResponseQueue")>]
member this.ResponseQueue : System.Messaging.MessageQueue with get, set
Public Property ResponseQueue As MessageQueue
The MessageQueue to which application-generated response messages are returned. The default is null
.
- Attributes
The message queue is filtered to ignore the ResponseQueue property.
The following code example gets and sets the value of a message's ResponseQueue property.
The ResponseQueue property identifies the queue that receives application-generated response messages, which the receiving application returns to the sending application. The sending application specifies response queues when the application sends its messages. Any available queue can be specified as a response queue.
Messages returned to the response queue are application-specific. The application must define the contents of the messages as well as the action to take upon receipt of a message.
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: