System.Messaging Reference (Document! X Sample)



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

Property Value

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