Class IronPdfLicensingException
Represents errors that occur during IronPDF execution due to the library not being appropriately licensed.
https://ironpdf.com/licensing/
Namespace: IronPdf.Exceptions
Assembly: IronPdf.dll
Syntax
public class IronPdfLicensingException : IronPdfProductException
Constructors
IronPdfLicensingException()
Initializes a new instance of the IronPdfLicensingException class.
Declaration
public IronPdfLicensingException()
IronPdfLicensingException(String)
Initializes a new instance of the IronPdfLicensingException class with a specified error message.
Declaration
public IronPdfLicensingException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
IronPdfLicensingException(String, Exception)
Initializes a new instance of the IronPdfLicensingException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public IronPdfLicensingException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference (langword_csharp_Nothing in Visual Basic) if no inner exception is specified. |
Properties
stackTrace
Declaration
public byte[] stackTrace { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
StackTrace
Declaration
public override string StackTrace { get; }
Property Value
Type | Description |
---|---|
System.String |
TargetSite
Declaration
public string TargetSite { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Throw(String)
Declaration
public static void Throw(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |