NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DefaultPropertiesToSend.AttachSenderId

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);

Property Value

true if the SenderId is to be attached to the message; otherwise, false. The default is true.

Remarks

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.

See Also

DefaultPropertiesToSend Class | DefaultPropertiesToSend Members | System.Messaging Namespace | TBD