EncryptionRequired Property (MessageQueue)
Gets or sets a value that indicates whether the queue accepts only non-private (non-encrypted) messages.
Syntax
'Declaration <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <MessagingDescriptionAttribute("Specifies whether or not the queue only accepts non-private (clear) messages.")> Public Property EncryptionRequired As EncryptionRequired
'Usage Dim instance As MessageQueue Dim value As EncryptionRequired instance.EncryptionRequired = value value = instance.EncryptionRequired
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Specifies whether or not the queue only accepts non-private (clear) messages.")] public EncryptionRequired EncryptionRequired {get; set;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Specifies whether or not the queue only accepts non-private (clear) messages.")] public: property EncryptionRequired EncryptionRequired { EncryptionRequired get(); void set ( EncryptionRequired value); }
Property Value
One of the EncryptionRequired values. The default is None.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