TX Text Control .NET for WPF

Reason Property

Property|Introduced in 24.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the error which is the cause of this exception. It can be one of the FilterException.FilterError values.

Syntax

public FilterException.FilterError Reason { get; }

Examples

The following example includes the reason value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Reason: {filterException.Reason}");
Console.WriteLine("Filter Exception is ready for use.");

Limitations

Read only.