# LicenseErrorEventHandler

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

Represents the method that will handle the [LicenseError](https://docs.wisej.com/api/wisej.web/general/application/..#licenseerror) event.

{% tabs %}
{% tab title="C#" %}

```csharp
public delegate void LicenseErrorEventHandler(Object sender, LicenseErrorEventArgs e)
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Delegate Sub LicenseErrorEventHandler(ByVal sender As [Object], ByVal e As LicenseErrorEventArgs)
```

{% endtab %}
{% endtabs %}

## Parameters

| Name       | Type                                                                                                              | Description                                                                                                                                       |
| ---------- | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| **sender** | [Object](https://docs.microsoft.com/dotnet/api/system.object)                                                     | The source of the event.                                                                                                                          |
| **e**      | [LicenseErrorEventArgs](https://docs.wisej.com/api/wisej.web/general/application/wisej.web.licenseerroreventargs) | A [LicenseErrorEventArgs](https://docs.wisej.com/api/wisej.web/general/application/wisej.web.licenseerroreventargs) that contains the event data. |

## Fired By

| Name                                                                                                 | Description                        |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------- |
| [Application.LicenseError](https://docs.wisej.com/api/wisej.web/general/application/..#licenseerror) | Fired when a license error occurs. |
