Authenticate Property (MessageQueue)
Gets or sets a value that indicates whether the queue accepts only authenticated messages.
Syntax
'Declaration <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <MessagingDescriptionAttribute("Specifies whether or not the queue only accepts authenticated messages.")> Public Property Authenticate As Boolean
'Usage Dim instance As MessageQueue Dim value As Boolean instance.Authenticate = value value = instance.Authenticate
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Specifies whether or not the queue only accepts authenticated messages.")] public bool Authenticate {get; set;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Specifies whether or not the queue only accepts authenticated messages.")] 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
Exception | Description |
---|---|
MessageQueueException | 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