MessageQueueInstaller.EncryptionRequired Property


Gets or sets a value that indicates whether the queue accepts only private, or encrypted, messages.

 property System::Messaging::EncryptionRequired EncryptionRequired { System::Messaging::EncryptionRequired get(); void set(System::Messaging::EncryptionRequired value); };
public System.Messaging.EncryptionRequired EncryptionRequired { get; set; }
member this.EncryptionRequired : System.Messaging.EncryptionRequired with get, set
Public Property EncryptionRequired As EncryptionRequired

Property Value

One of the EncryptionRequired values that indicates the encryption level required on messages sent to the queue. The default is Optional.


When encryption is specified, only the Body of a message is encrypted. Other properties, such as the Label, are not encrypted.

Applies to