System.Messaging Reference (Document! X Sample)



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

Property Value

true to receive Message.Acknowledgment 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