System.Messaging Reference (Document! X Sample)



Extension Property (MessagePropertyFilter)
Gets or sets a value that indicates whether to retrieve Extension property information when receiving or peeking a message.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<MessagingDescriptionAttribute("Provides a place to put additional application-defined information that is associated with the message.")>
Public Property Extension As Boolean
'Usage
 
Dim instance As MessagePropertyFilter
Dim value As Boolean
 
instance.Extension = value
 
value = instance.Extension
[DefaultValue()]
[MessagingDescription("Provides a place to put additional application-defined information that is associated with the message.")]
public bool Extension {get; set;}
[DefaultValue()]
[MessagingDescription("Provides a place to put additional application-defined information that is associated with the message.")]
public:
property bool Extension {
   bool get();
   void set (    bool value);
}

Property Value

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