---
title: "Class LicenseRestrictionException"
url: "https://reference.aspose.com/font/net/aspose.font.exceptions/licenserestrictionexception/"
product: "Aspose.Font for .NET API Reference"
description: "Aspose.Font.Exceptions.LicenseRestrictionException class. Represents exception which can be thrown on attempt to execute functionality which is restricted in evaluation mode"
---

## LicenseRestrictionException class

Represents exception which can be thrown on attempt to execute functionality which is restricted in evaluation mode.

```csharp
public class LicenseRestrictionException : FontException
```

## Constructors

| Name | Description |
| --- | --- |
| [LicenseRestrictionException](licenserestrictionexception/#constructor)() | Initializes new [`FontCreationException`](../fontcreationexception/) object. |
| [LicenseRestrictionException](licenserestrictionexception/#constructor_2)(string) | Initializes new [`FontCreationException`](../fontcreationexception/) object. |
| [LicenseRestrictionException](licenserestrictionexception/#constructor_1)(SerializationInfo, StreamingContext) | Initializes new [`FontCreationException`](../fontcreationexception/) object. |
| [LicenseRestrictionException](licenserestrictionexception/#constructor_3)(string, Exception) | Initializes new [`FontCreationException`](../fontcreationexception/) object. |

### See Also

* class [FontException](../fontexception/)
* namespace [Aspose.Font.Exceptions](../../aspose.font.exceptions/)
* assembly [Aspose.Font](../../)


