Class ExpiredLicenseException
- Namespace
- MASES.LicenseManager.Common
- Assembly
- C2JBridge.dll
Exception raised if the license is expired. Extends InvalidLicenseException.
[Serializable]
public class ExpiredLicenseException : InvalidLicenseException, ISerializable, _Exception
- Inheritance
-
ExpiredLicenseException
- Implements
- Inherited Members
- Extension Methods
Constructors
ExpiredLicenseException(DateTime)
Constructor
public ExpiredLicenseException(DateTime dt)
Parameters
dt
DateTimeExpiration date
ExpiredLicenseException(DateTime, string)
Constructor
public ExpiredLicenseException(DateTime dt, string message)
Parameters
dt
DateTimeExpiration date
message
stringThe message to put in ExpiredLicenseException
ExpiredLicenseException(DateTime, string, Exception)
Constructor
public ExpiredLicenseException(DateTime dt, string message, Exception innerException)
Parameters
dt
DateTimeExpiration date
message
stringThe message to put in ExpiredLicenseException
innerException
ExceptionThe inner Exception
ExpiredLicenseException(SerializationInfo, StreamingContext)
Initializes a new instance of the ExpiredLicenseException class with serialized data.
protected ExpiredLicenseException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
The info parameter is null.
- SerializationException
The class name is null or HResult is zero (0).
Properties
ExprirationDate
Expiration date
public DateTime ExprirationDate { get; }