Constructor LockingException
LockingException()
Default constructor.
Declaration
public LockingException()
LockingException(String)
Overloaded constructor, takes the reason as parameter.
Declaration
public LockingException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |
LockingException(String, Exception)
Overloaded constructor.
Declaration
public LockingException(string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | Reason for exception |
System.Exception | inner | Nested exception |
LockingException(Int32)
Overloaded constructor
Declaration
public LockingException(int errorCode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | Assigned ErrorCode |
LockingException(Int32, String)
Overloaded constructor
Declaration
public LockingException(int errorCode, string reason)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | Assigned ErrorCode |
System.String | reason | Exception message |
LockingException(Int32, String, String)
Overloaded constructor
Declaration
public LockingException(int errorCode, string reason, string stackTrace)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | Assigned Errorcode |
System.String | reason | Exception message |
System.String | stackTrace | stack trace |
LockingException(Int32, String, Exception)
Overloaded constructor
Declaration
public LockingException(int errorCode, string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | Assigned errorcode |
System.String | reason | Exception Message |
System.Exception | inner | nested exception |
LockingException(SerializationInfo, StreamingContext)
Overloaded constructor, manual serialization.
Declaration
public LockingException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |