System.Messaging Reference (Document! X Sample)



AttachSenderId Property (MessagePropertyFilter)
Gets or sets a value that indicates whether to retrieve AttachSenderId property information when receiving or peeking a message.
Syntax
'Declaration
 
<MessagingDescriptionAttribute("Indicates if the SenderId is to be or has been attached to the message.")>
<DefaultValueAttribute()>
Public Property AttachSenderId As Boolean
'Usage
 
Dim instance As MessagePropertyFilter
Dim value As Boolean
 
instance.AttachSenderId = value
 
value = instance.AttachSenderId
[MessagingDescription("Indicates if the SenderId is to be or has been attached to the message.")]
[DefaultValue()]
public bool AttachSenderId {get; set;}
[MessagingDescription("Indicates if the SenderId is to be or has been attached to the message.")]
[DefaultValue()]
public:
property bool AttachSenderId {
   bool get();
   void set (    bool value);
}

Property Value

true to receive AttachSenderId 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