System.Messaging Reference (Document! X Sample)
Authenticate Property (MessageQueue)



System.Messaging Namespace > MessageQueue Class : Authenticate Property
Gets or sets a value that indicates whether the queue accepts only authenticated messages.
Syntax
'Declaration
 
Public Property Authenticate As Boolean
'Usage
 
Dim instance As MessageQueue
Dim value As Boolean
 
instance.Authenticate = value
 
value = instance.Authenticate
public bool Authenticate {get; set;}
public:
property bool Authenticate {
   bool get();
   void set (    bool value);
}

Property Value

true if the queue accepts only authenticated messages; otherwise, false. The default is false.
Exceptions
ExceptionDescription
An error occurred when accessing a Message Queuing method.
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

Reference

MessageQueue Class
MessageQueue Members