EncryptionRequired Enumeration
Collapse the table of content
Expand the table of content

EncryptionRequired Enumeration

Specifies the privacy level of messages received by the queue.

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

Public Enumeration EncryptionRequired
Dim instance As 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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

© 2015 Microsoft