Class OfflineActivationException
Indicates that the license activation key is an invalid activation Key. The key cannot be used for this product.
Implements
Namespace: Sartorius.SAF.Licensing.Revenera.Exceptions
Assembly: Sartorius.SAF.Licensing.Revenera.dll
Syntax
[Serializable]
public class OfflineActivationException : LicenseException, ISerializable
Constructors
View SourceOfflineActivationException()
Create a new instance of OfflineActivationException class.
Declaration
public OfflineActivationException()
OfflineActivationException(SerializationInfo, StreamingContext)
Initializes a new instance of the OfflineActivationException class with serialized data.
Declaration
protected OfflineActivationException(SerializationInfo si, StreamingContext ctx)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | si | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | ctx | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
OfflineActivationException(String)
Initializes a new instance of the OfflineActivationException class with a specified error message.
Declaration
public OfflineActivationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
OfflineActivationException(String, Exception)
Initializes a new instance of the OfflineActivationException class with a specified error message.
Declaration
public OfflineActivationException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception, or an empty string |
System.Exception | innerException | The inner exception. |