Class ProductMismatchException
- Namespace
- MASES.LicenseManager.Common
- Assembly
- C2JBridge.dll
Exception raised if the license file is not available. Extends CorruptedLicenseException.
[Serializable]
public class ProductMismatchException : CorruptedLicenseException, ISerializable, _Exception
- Inheritance
-
ProductMismatchException
- Implements
- Inherited Members
- Extension Methods
Constructors
ProductMismatchException(SerializationInfo, StreamingContext)
Initializes a new instance of the CorruptedLicenseException class with serialized data.
protected ProductMismatchException(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).
ProductMismatchException(string, string)
Constructor
public ProductMismatchException(string productName, string productVersion)
Parameters
ProductMismatchException(string, string, string)
Constructor
public ProductMismatchException(string productName, string productVersion, string message)
Parameters
productName
stringProduct name
productVersion
stringProduct version
message
stringThe message to put in ProductMismatchException
ProductMismatchException(string, string, string, Exception)
Constructor
public ProductMismatchException(string productName, string productVersion, string message, Exception innerException)
Parameters
productName
stringProduct name
productVersion
stringProduct version
message
stringThe message to put in MachineInformationMismatchException
innerException
ExceptionThe inner Exception
Properties
ProductName
Product Name
public string ProductName { get; }
Property Value
ProductVersion
Product Version
public string ProductVersion { get; }