System.Messaging Reference (Document! X Sample)



SenderId Property (MessagePropertyFilter)
Gets or sets a value that indicates whether to retrieve SenderId property information when receiving or peeking a message.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<MessagingDescriptionAttribute("This property is set by MSMQ, and is used primarily by the receiving Queue Manager when authenticating a message.")>
Public Property SenderId As Boolean
'Usage
 
Dim instance As MessagePropertyFilter
Dim value As Boolean
 
instance.SenderId = value
 
value = instance.SenderId
[DefaultValue()]
[MessagingDescription("This property is set by MSMQ, and is used primarily by the receiving Queue Manager when authenticating a message.")]
public bool SenderId {get; set;}
[DefaultValue()]
[MessagingDescription("This property is set by MSMQ, and is used primarily by the receiving Queue Manager when authenticating a message.")]
public:
property bool SenderId {
   bool get();
   void set (    bool value);
}

Property Value

true to receive SenderId information; otherwise, false. The default is false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also