System.Messaging Reference (Document! X Sample)



System.Messaging Namespace > Message Class : ResponseQueue Property
ResponseQueue Property (Message)
Gets or sets the queue that receives application-generated response messages.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<ReadOnlyAttribute(True)>
<MessagingDescriptionAttribute("Specifies the queue to which application-generated response messages are returned.")>
Public Property ResponseQueue As MessageQueue
'Usage
 
Dim instance As Message
Dim value As MessageQueue
 
instance.ResponseQueue = value
 
value = instance.ResponseQueue
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[ReadOnly(true)]
[MessagingDescription("Specifies the queue to which application-generated response messages are returned.")]
public MessageQueue ResponseQueue {get; set;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[ReadOnly(true)]
[MessagingDescription("Specifies the queue to which application-generated response messages are returned.")]
public:
property MessageQueue^ ResponseQueue {
   MessageQueue^ get();
   void set (    MessageQueue^ value);
}

Property Value

The MessageQueue to which application-generated response messages are returned. The default is null.
Exceptions
ExceptionDescription
The message queue is filtered to ignore the ResponseQueue property.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also