MessagePropertyFilter.SenderId Property
Gets or sets a value indicating whether to retrieve Message.SenderId property information when receiving or peeking a message.
[Visual Basic] Public Property SenderId As Boolean [C#] public bool SenderId {get; set;} [C++] public: __property bool get_SenderId(); public: __property void set_SenderId(bool); [JScript] public function get SenderId() : Boolean; public function set SenderId(Boolean);
Property Value
true to receive Message.SenderId information; otherwise, false. The default is false.
Remarks
The SenderId property of the Message class is used primarily by the receiving queue manager when authenticating a message. The property is set by Message Queuing and is used by the queue manager to verify who sent the message and that the sender has access rights to the receiving queue.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
MessagePropertyFilter Class | MessagePropertyFilter Members | System.Messaging Namespace | Message.SenderId | Authenticated | MessageQueue