FilterException Constructor
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Initializes a new instance of the FilterException class.
Syntax
FilterException(FilterException.FilterError)
Initializes a new instance of the FilterException class with a specified error.
public FilterException(FilterException.FilterError error);Public Sub New([error] As FilterException.FilterError)| Parameter | Description |
|---|---|
| error | The error that is the cause of the current exception. |
FilterException(FilterException.FilterError, string)
Initializes a new instance of the FilterException class with a specified error and a specified error message.
public FilterException(FilterException.FilterError error, string message);Public Sub New([error] As FilterException.FilterError, message As String)| Parameter | Description |
|---|---|
| error | The error that is the cause of the current exception. |
| message | The error message that explains the reason for the exception. |
Examples
The following example creates a Filter Exception instance and configures its help link setting for a document workflow.
FilterException filterException = new(FilterException.FilterError.WrongFileType);
filterException.HelpLink = "Quarterly report";Dim filterException As New FilterException(FilterException.FilterError.WrongFileType)
filterException.HelpLink = "Quarterly report"