Class MissingLicenseFileException
- Namespace
- MASES.LicenseManager.Common
- Assembly
- C2JBridge.dll
Exception raised if the license file is not available. Extends MissingLicenseException.
[Serializable]
public class MissingLicenseFileException : MissingLicenseException, ISerializable, _Exception
- Inheritance
-
MissingLicenseFileException
- Implements
- Inherited Members
- Extension Methods
Constructors
MissingLicenseFileException(SerializationInfo, StreamingContext)
Initializes a new instance of the MissingLicenseFileException class with serialized data.
protected MissingLicenseFileException(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).
MissingLicenseFileException(string)
Constructor
public MissingLicenseFileException(string licensePath)
Parameters
licensePathstringThe license path
MissingLicenseFileException(string, string)
Constructor
public MissingLicenseFileException(string licensePath, string message)
Parameters
licensePathstringThe license path
messagestringThe message to put in MissingLicenseFileException
MissingLicenseFileException(string, string, Exception)
Constructor
public MissingLicenseFileException(string licensePath, string message, Exception innerException)
Parameters
licensePathstringThe license path
messagestringThe message to put in MissingLicenseFileException
innerExceptionExceptionThe inner Exception
Properties
LicensePath
The path to the license file
public string LicensePath { get; }