Redigera

Dela via


MsmqMessage<T>.AdministrationQueue Property

Definition

Gets or sets the Uri of the administration queue that is associated with this message.

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

Property Value

Uri

The Uri of the administration queue that is associated with this message. The default value is null.

Examples

message.AdministrationQueue = new Uri(".\\private$\\MyAdminQueue");
message.AdministrationQueue = New Uri(".\private$\MyAdminQueue")

Remarks

The administration queue that is associated with a message will receive any acknowledgment messages that indicate whether the original message reached its destination queue and whether it has been removed from the queue.

Applies to