Class LicensingException
This class is used to implement exception handling. When an error occurs, either a SCL component (such as, the Sentinel Cloud Connect) or the currently executing application reports it by throwing an exception. The exception contains information about the error and the corresponding error code.
Namespace: SentinelCloud.Services.Licensing (Contain classes that helps in licensing operations such as requesting, updating, and releasing a license.)
Assembly: SentinelLicensing.dll
Constructors
Syntax | Description |
---|---|
LicensingException() |
Default constructor. |
LicensingException(string errorMessage, int statusCode) |
Creates an object using the given status code and error message.
|
Properties
Properties | API |
---|---|
statusCode | Gets the status code of the LicensingException object. |
errorMessage | Gets the error message of the LicensingException object. |