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
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).
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
productNamestringProduct name
productVersionstringProduct version
messagestringThe message to put in ProductMismatchException
ProductMismatchException(string, string, string, Exception)
Constructor
public ProductMismatchException(string productName, string productVersion, string message, Exception innerException)
Parameters
productNamestringProduct name
productVersionstringProduct version
messagestringThe message to put in MachineInformationMismatchException
innerExceptionExceptionThe inner Exception
Properties
ProductName
Product Name
public string ProductName { get; }
Property Value
ProductVersion
Product Version
public string ProductVersion { get; }