Assembly: System.Messaging (in system.messaging.dll)
/** @property */ public boolean get_AttachSenderId () /** @property */ public void set_AttachSenderId (boolean value)
public function get AttachSenderId () : boolean public function set AttachSenderId (value : boolean)
Property Valuetrue if sender ID should be attached to the message; otherwise, false. The default is true.
The sender ID is an array of bytes that represents the identifier of the sending user. The sender ID is set by Message Queuing and is used by the receiving Queue Manager to verify whether the sender has access rights to a queue. The sender ID is only trustworthy if the message was authenticated when it reached the destination queue.
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 when the message is sent to the destination queue. If the destination queue only accepts authenticated messages, and either UseAuthentication or AttachSenderId is false, the message will be rejected when it reaches the queue.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.