TX Text Control .NET for WPF

TextEditorException Constructor

Constructor|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

Initializes a new instance of the TextEditorException class.

Syntax

TextEditorException()

Initializes a new instance of the TextEditorException class.

public TextEditorException();

TextEditorException(string)

Initializes a new instance of the TextEditorException class with a specified error message.

public TextEditorException(string message);
ParameterDescription
message

The error message that explains the reason for the exception.

TextEditorException(string, Exception)

Initializes a new instance of the TextEditorException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public TextEditorException(string message, Exception inner);
ParameterDescription
message

The error message that explains the reason for the exception.

inner

The exception that is the cause of the current exception.

Examples

The following example creates a Text Editor Exception instance and configures its help link setting for a document workflow.

TextEditorException textEditorException = new();
textEditorException.HelpLink = "Quarterly report";