# LicenseLevelException Constructor

> Initializes a new instance of the LicenseLevelException class.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Constructor
- **Introduced:** 24.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > LicenseLevelException Constructor
- **708 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/licenselevelexception/constructor/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/licenselevelexception/constructor/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/licenselevelexception/constructor/llms-full.txt

---

### Description

Initializes a new instance of the LicenseLevelException class.

### Syntax

#### LicenseLevelException()

Initializes a new instance of the LicenseLevelException class.

```csharp
public LicenseLevelException();
```

```vbnet
Public Sub New()
```

#### LicenseLevelException(string)

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

```csharp
public LicenseLevelException(string message);
```

```vbnet
Public Sub New(message As String)
```

| Parameter | Description |
|---|---|
| message | The error message that explains the reason for the exception. |

#### LicenseLevelException(string, Exception)

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

```csharp
public LicenseLevelException(string message, Exception inner);
```

```vbnet
Public Sub New(message As String, inner As Exception)
```

| Parameter | Description |
|---|---|
| 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 License Level Exception instance and configures its help link setting for a document workflow.

```csharp
LicenseLevelException licenseLevelException = new();
licenseLevelException.HelpLink = "Quarterly report";
```

```vbnet
Dim licenseLevelException As New LicenseLevelException()
licenseLevelException.HelpLink = "Quarterly report"
```

---

## Nearby

- **Previous:** [LicenseLevelException Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/licenselevelexception/llms-full.txt)
- **Next:** [Line Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/line/llms-full.txt)
