Class LicenseException
Represents the exception thrown when license validation failed.
Inheritance
System.Object
System.Exception
LicenseException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: DevZest.Licensing
Assembly: DevZest.Licensing.dll
Syntax
[Serializable]
public sealed class LicenseException : Exception, ISerializable, _Exception
Remarks
The LicenseManager.Validate method throws LicenseException when validation failed. This occurs when an assembly is either not licensed, or is licensed but cannot be granted a valid license.
Constructors
Name | Description |
---|---|
LicenseException() | Initializes a new instance of the LicenseException class. |
LicenseException(LicenseError) | Initializes a new instance of the LicenseException class with a specified LicenseError. |
LicenseException(String) | Initializes a new instance of the LicenseException class with a specified error message. |
LicenseException(String, Exception) | Initializes a new instance of the LicenseException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Properties
Name | Description |
---|---|
Error | Gets the LicenseError that causes this LicenseException. |
Methods
Name | Description |
---|---|
GetObjectData(SerializationInfo, StreamingContext) |