Class LicenseException
Represents errors that can occur while working with licenses.
Inheritance
Implements
Namespace: Sartorius.SAF.Licensing.Revenera.Exceptions
Assembly: Sartorius.SAF.Licensing.Revenera.dll
Syntax
[Serializable]
public class LicenseException : Exception, ISerializable
Constructors
View SourceLicenseException()
Initializes a new instance of the LicenseException class.
Declaration
public LicenseException()
LicenseException(SerializationInfo, StreamingContext)
Initializes a new instance of the LicenseException class with serialized data.
Declaration
protected LicenseException(SerializationInfo si, StreamingContext ctx)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | si | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | ctx | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
LicenseException(String)
Initializes a new instance of the LicenseException class with a specified error message.
Declaration
public LicenseException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
LicenseException(String, Exception)
Initializes a new instance of the LicenseException class with a specified error message and a reference to the inner exception that is the cause of this exception..
Declaration
public LicenseException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |