MsmqMessage<T>.ResponseQueue Property

Definition

Gets or sets the Uri of the message queue that receives response messages from the receiving application.

public:
 property Uri ^ ResponseQueue { Uri ^ get(); void set(Uri ^ value); };
public Uri ResponseQueue { get; set; }
member this.ResponseQueue : Uri with get, set
Public Property ResponseQueue As Uri

Property Value

Uri

This property defaults to null.

This property identifies the queue that receives response messages that the receiving application returns to the sending application. The sending application specifies the response queue when it sends messages to the receiving application. The sending application can specify any available queue as the response queue.

Examples

message.ResponseQueue = new Uri(".\\private$\\MyResponseQueue");
message.ResponseQueue = New Uri(".\private$\MyResponseQueue")

Applies to