Constructor LicensingException
LicensingException()
Default constructor.
Declaration
public LicensingException()
LicensingException(String)
Overloaded constructor, takes the reason as parameter.
Declaration
public LicensingException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |
LicensingException(String, Exception)
Overloaded constructor.
Declaration
public LicensingException(string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | Reason for exception |
Exception | inner | Nested exception |
LicensingException(Int32)
Overloaded Constructor.
Declaration
public LicensingException(int errorCode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | errorcode which is associated with exception |
LicensingException(Int32, String)
Overloaded constructor, takes the reason and errorCode as parameter.
Declaration
public LicensingException(int errorCode, string reason)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | |
System.String | reason |
LicensingException(Int32, String, String)
Overloaded constructor
Declaration
public LicensingException(int errorCode, string reason, string stackTrace)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | Assigned ErrorCode |
System.String | reason | exception Message |
System.String | stackTrace | Stacktrace |
LicensingException(Int32, String, Exception)
Overloaded constructor.
Declaration
public LicensingException(int errorCode, string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | ErrorCode |
System.String | reason | Reason for exception |
Exception | inner | Nested exception |
LicensingException(SerializationInfo, StreamingContext)
Overloaded constructor, manual serialization.
Declaration
public LicensingException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |