.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

DecryptionFailedEventArgs.Exception Property

Returns an exception that led to the event.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v20.2.Core.dll


public RichEditDecryptionException Exception { get; }

Property Value

Type Description

One of the RichEditDecryptionException values indicating the decryption exception.


The code sample below shows how to handle the DecryptionFailed event to show an exception message.

View Example

private static void Server_DecryptionFailed(object sender, DecryptionFailedEventArgs e)
    Console.WriteLine(e.Exception.Message.ToString()+" Press any key to close...");

The following code snippets (auto-collected from DevExpress Examples) contain references to the Exception property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also