Class LicenseException
This exception was thrown if the corrupted or expired license was found.
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public class LicenseException : System.Exception
Constructors
LicenseException()
Initializes a new instance of the Exception class.
Declaration
public LicenseException()
LicenseException(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Initializes a new instance of the Exception class with serialized data.
Declaration
protected LicenseException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
LicenseException(String)
Initializes a new instance of the Exception class with a specified error message.
Declaration
public LicenseException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
LicenseException(String, System.Exception)
Initializes a new instance of the Exception class with a specified error message and inner exception.
Declaration
public LicenseException(string message, System.Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
System.Exception | inner | Inner Exception. |