TX Text Control .NET Server

Reason Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Gets the reason for the error.

Syntax

public string Reason { get; }

Examples

The following example uses XmlErrorEventArgs.Reason while handling XmlNotWellFormed.

textControl.XmlNotWellFormed += (_, e) =>
{
    Console.WriteLine($"Reason: {e.Reason}");
};

Limitations

Read only.