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
invalidHw
InvalidLicenseTypeThe invalid hw elements
MachineInformationMismatchException(InvalidLicenseType, string)
Constructor
public MachineInformationMismatchException(InvalidLicenseType invalidHw, string message)
Parameters
invalidHw
InvalidLicenseTypeThe invalid hw elements
message
stringThe message to put in MachineInformationMismatchException
MachineInformationMismatchException(InvalidLicenseType, string, Exception)
Constructor
public MachineInformationMismatchException(InvalidLicenseType invalidHw, string message, Exception innerException)
Parameters
invalidHw
InvalidLicenseTypeThe invalid hw elements
message
stringThe message to put in MachineInformationMismatchException
innerException
ExceptionThe inner Exception
MachineInformationMismatchException(SerializationInfo, StreamingContext)
Initializes a new instance of the CorruptedLicenseException class with serialized data.
protected MachineInformationMismatchException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe 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