Table of Contents

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 DateTime

Expiration date

ExpiredLicenseException(DateTime, string)

Constructor

public ExpiredLicenseException(DateTime dt, string message)

Parameters

dt DateTime

Expiration date

message string

The message to put in ExpiredLicenseException

ExpiredLicenseException(DateTime, string, Exception)

Constructor

public ExpiredLicenseException(DateTime dt, string message, Exception innerException)

Parameters

dt DateTime

Expiration date

message string

The message to put in ExpiredLicenseException

innerException Exception

The inner Exception

ExpiredLicenseException(SerializationInfo, StreamingContext)

Initializes a new instance of the ExpiredLicenseException class with serialized data.

protected ExpiredLicenseException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The 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; }

Property Value

DateTime