EmailMessage.IsOpaqueMessage Property

When overridden in a derived class, the IsOpaqueMessage property gets a value that indicates whether the message is encrypted or encapsulated in a format that the EmailMessage class cannot parse.

Namespace: Microsoft.Exchange.Data.Transport.Email
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Public ReadOnly Property IsOpaqueMessage As Boolean
public bool IsOpaqueMessage { get; }
public:
property bool IsOpaqueMessage {
    bool get ();
}
/** @property */
public boolean get_IsOpaqueMessage ()
public function get IsOpaqueMessage () : boolean

Property Value

When overridden in a derived class, the IsOpaqueMessage property returns true if the message is encrypted or in a format that the EmailMessage class cannot parse; otherwise, the property returns false.

Remarks

Opaque messages include messages that are encrypted and some types of signed messages. When the IsOpaqueMessage property is true, the EmailMessage class provides read-only access to the message.

Note

If you add or remove attachments or bodies from a signed e-mail message, the signature will be removed from the message. To retain the digital signature, we recommend that you create a new message that wraps the signed message by adding the signed message as an attachment to the new message.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003