Authenticated Property (Message)
Gets a value that indicates whether the message was authenticated.
Syntax
'Declaration <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <MessagingDescriptionAttribute("Used by the receiving application when trying to determine if authentication was requested. If authentication was requested and the message is in the queue, then the message was authenticated.")> Public ReadOnly Property Authenticated As Boolean
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Used by the receiving application when trying to determine if authentication was requested. If authentication was requested and the message is in the queue, then the message was authenticated.")] public bool Authenticated {get;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Used by the receiving application when trying to determine if authentication was requested. If authentication was requested and the message is in the queue, then the message was authenticated.")] public: property bool Authenticated { bool get(); }
Property Value
true if authentication was requested for the message when it entered the queue; otherwise, false.Exceptions
Exception | Description |
---|---|
System.InvalidOperationException | The message has not been sent. This property can only be read on messages retrieved from a queue.-or- The message queue is filtered to ignore the Authenticated property. |
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