Class ActivationKeyAlreadyUsedException
Indicates that the activation key was already used. Request a new license key.
Implements
Namespace: Sartorius.SAF.Licensing
Assembly: Sartorius.SAF.Licensing.dll
Syntax
[Serializable]
public class ActivationKeyAlreadyUsedException : LicenseException, ISerializable
Constructors
View SourceActivationKeyAlreadyUsedException()
Create a new instance of ActivationKeyAlreadyUsedException class.
Declaration
public ActivationKeyAlreadyUsedException()
ActivationKeyAlreadyUsedException(SerializationInfo, StreamingContext)
Initializes a new instance of the ActivationKeyAlreadyUsedException class with serialized data.
Declaration
protected ActivationKeyAlreadyUsedException(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. |
ActivationKeyAlreadyUsedException(String)
Initializes a new instance of the ActivationKeyAlreadyUsedException class with a specified error message.
Declaration
public ActivationKeyAlreadyUsedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
ActivationKeyAlreadyUsedException(String, Exception)
Initializes a new instance of the ActivationKeyAlreadyUsedException class with a specified error message.
Declaration
public ActivationKeyAlreadyUsedException(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. |