Export (0) Print
Expand All

DefaultPropertiesToSend.AttachSenderId Property

Gets or sets a value that indicates whether the sender ID should be attached to the message.

Namespace: System.Messaging
Assembly: System.Messaging (in system.messaging.dll)

public bool AttachSenderId { get; set; }
/** @property */
public boolean get_AttachSenderId ()

/** @property */
public void set_AttachSenderId (boolean value)

public function get AttachSenderId () : boolean

public function set AttachSenderId (value : boolean)

Property Value

true 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.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

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.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft