DecryptionFailedEventArgs.Exception Property
In This Article
Returns an exception that led to the event.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
#Declaration
public RichEditDecryptionException Exception { get; }
#Property Value
Type | Description |
---|---|
Rich |
One of the Rich |
#Remarks
The code sample below shows how to handle the DecryptionFailed event to show an exception message.
private static void Server_DecryptionFailed(object sender, DecryptionFailedEventArgs e)
{
Console.WriteLine(e.Exception.Message.ToString()+" Press any key to close...");
Console.ReadKey(true);
}
See Also