Export (0) Print
Expand All
Expand Minimize

EncryptionRequired Enumeration

Specifies the privacy level of messages received by the queue.

Namespace: System.Messaging
Assembly: System.Messaging (in system.messaging.dll)

public enum EncryptionRequired
public enum EncryptionRequired
public enum EncryptionRequired

 Member nameDescription
BodyAccepts only private (encrypted) messages. 
NoneAccepts only non-private (non-encrypted) messages. 
OptionalDoes not force privacy. Accepts private (encrypted) messages and non-private (non-encrypted) messages. 

You can specify whether the queue accepts private (encrypted) messages, non-private (non-encrypted) messages, or both.

Documentation often refers to non-encrypted messages as clear.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

© 2014 Microsoft