Gets or sets a value indicating if the sender ID is to be attached to the message.
[Visual Basic] Public Property AttachSenderId As Boolean [C#] public bool AttachSenderId {get; set;} [C++] public: __property bool get_AttachSenderId(); public: __property void set_AttachSenderId(bool); [JScript] public function get AttachSenderId() : Boolean; public function set AttachSenderId(Boolean);
true if the SenderId is to be attached to the message; otherwise, false. The default is true.
AttachSenderId provides access to the SenderIdType property of the Message Queuing application's MSMQMessage object.
The SenderId property of the message is an array of bytes that represents the identifier of the sending user. Typically, this property is set when the message is sent. When the sender ID is not attached to the message, the sending application is indicating that Message Queuing should not validate the message's sender or verify that the sender has access rights to the receiving queue.
DefaultPropertiesToSend Class | DefaultPropertiesToSend Members | System.Messaging Namespace | TBD