Class InvalidHardwareIdException
The exception that is thrown when the hardware id of the license is not valid for the current hardware.
Implements
Namespace: Sartorius.SAF.Licensing
Assembly: Sartorius.SAF.Licensing.dll
Syntax
[Serializable]
public class InvalidHardwareIdException : LicenseException, ISerializable
Constructors
View SourceInvalidHardwareIdException()
Create a new instance of InvalidHardwareIdException class.
Declaration
public InvalidHardwareIdException()
InvalidHardwareIdException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidHardwareIdException class with serialized data.
Declaration
protected InvalidHardwareIdException(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. |
InvalidHardwareIdException(String)
Initializes a new instance of the InvalidHardwareIdException class with a specified error message.
Declaration
public InvalidHardwareIdException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
InvalidHardwareIdException(String, Exception)
Initializes a new instance of the InvalidHardwareIdException class with a specified error message.
Declaration
public InvalidHardwareIdException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The inner exception. |