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



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

Property Value

One of the EncryptionRequired values. The default is None.
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