Table of Contents

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 SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The 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

productName string

Product name

productVersion string

Product version

ProductMismatchException(string, string, string)

Constructor

public ProductMismatchException(string productName, string productVersion, string message)

Parameters

productName string

Product name

productVersion string

Product version

message string

The message to put in ProductMismatchException

ProductMismatchException(string, string, string, Exception)

Constructor

public ProductMismatchException(string productName, string productVersion, string message, Exception innerException)

Parameters

productName string

Product name

productVersion string

Product version

message string

The message to put in MachineInformationMismatchException

innerException Exception

The inner Exception

Properties

ProductName

Product Name

public string ProductName { get; }

Property Value

string

ProductVersion

Product Version

public string ProductVersion { get; }

Property Value

string