Class LicensingException
LicensingException is thrown when Either license has expired or some error occurred during the validation of license.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class LicensingException : CacheException, ISerializable, _Exception
LicensingException()
default constructor.
Declaration
public LicensingException()
LicensingException(SerializationInfo, StreamingContext)
overloaded constructor, manual serialization.
Declaration
public LicensingException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
LicensingException(String)
overloaded constructor, takes the reason as parameter.
Declaration
public LicensingException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |
LicensingException(String, Exception)
overloaded constructor.
Declaration
public LicensingException(string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | reason for exception |
System.Exception | inner | nested exception |
GetObjectData(SerializationInfo, StreamingContext)
manual serialization
Declaration
[SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |