System.Messaging Reference (Document! X Sample)



Id Property (MessagePropertyFilter)
Gets or sets a value that indicates whether to retrieve Id property information when receiving or peeking a message.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<MessagingDescriptionAttribute("Indicates the MSMQ-generated identifier of the message.")>
Public Property Id As Boolean
'Usage
 
Dim instance As MessagePropertyFilter
Dim value As Boolean
 
instance.Id = value
 
value = instance.Id
[DefaultValue()]
[MessagingDescription("Indicates the MSMQ-generated identifier of the message.")]
public bool Id {get; set;}
[DefaultValue()]
[MessagingDescription("Indicates the MSMQ-generated identifier of the message.")]
public:
property bool Id {
   bool get();
   void set (    bool value);
}

Property Value

true to receive Id information; otherwise, false. The default is true.
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