NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MessageQueue.EncryptionRequired

Gets or sets a value indicating whether the queue only accepts non-private (non-encrypted) messages.

[Visual Basic]
Overridable Public Property EncryptionRequired As _
   EncryptionRequired
[C#]
public EncryptionRequired EncryptionRequired {virtual get; virtual
   set;}
[C++]
public: __property virtual EncryptionRequired get_EncryptionRequired();
public: __property virtual void set_EncryptionRequired(EncryptionRequired);
[JScript]
public function get EncryptionRequired() : EncryptionRequired;
public function set EncryptionRequired(EncryptionRequired);

Property Value

One of the EncryptionRequired values. The default is None.

Exceptions

Exception Type Condition
MessageQueueException The attempt to get or set the encryption level generated an internal error on the message queue component. The error is specified by the given status message.

Remarks

When you specify that encryption is required on the messages sent to a queue, only the body of the message is encrypted. Other members, such as the message Label or SenderId properties, cannot be encrypted.

See Also

MessageQueue Class | MessageQueue Members | System.Messaging Namespace