Class MachineInformationMismatchException
- Namespace
- MASES.LicenseManager.Common
- Assembly
- C2JBridge.dll
Exception raised if the license file is not available. Extends CorruptedLicenseException.
[Serializable]
public class MachineInformationMismatchException : CorruptedLicenseException, ISerializable, _Exception
- Inheritance
-
MachineInformationMismatchException
- Implements
- Inherited Members
- Extension Methods
Constructors
MachineInformationMismatchException(InvalidLicenseType)
Constructor
public MachineInformationMismatchException(InvalidLicenseType invalidHw)
Parameters
invalidHwInvalidLicenseTypeThe invalid hw elements
MachineInformationMismatchException(InvalidLicenseType, string)
Constructor
public MachineInformationMismatchException(InvalidLicenseType invalidHw, string message)
Parameters
invalidHwInvalidLicenseTypeThe invalid hw elements
messagestringThe message to put in MachineInformationMismatchException
MachineInformationMismatchException(InvalidLicenseType, string, Exception)
Constructor
public MachineInformationMismatchException(InvalidLicenseType invalidHw, string message, Exception innerException)
Parameters
invalidHwInvalidLicenseTypeThe invalid hw elements
messagestringThe message to put in MachineInformationMismatchException
innerExceptionExceptionThe inner Exception
MachineInformationMismatchException(SerializationInfo, StreamingContext)
Initializes a new instance of the CorruptedLicenseException class with serialized data.
protected MachineInformationMismatchException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe 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
InvalidHw
Invalid HW information
public InvalidLicenseType InvalidHw { get; }
Property Value
- InvalidLicenseType