Constructor APILoggingException
APILoggingException()
Default constructor
Declaration
public APILoggingException()
APILoggingException(String)
overloaded constructor, takes the reason as parameter.
Declaration
public APILoggingException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |
APILoggingException(String, Exception)
overloaded constructor.
Declaration
public APILoggingException(string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | reason for exception |
Exception | inner | nested exception |
APILoggingException(Int32)
overloaded constructor
Declaration
public APILoggingException(int errorCode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
APILoggingException(Int32, String)
overloaded constructor
Declaration
public APILoggingException(int errorCode, string reason)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
System.String | reason | exception message |
APILoggingException(Int32, String, Exception)
overloaded constructor
Declaration
public APILoggingException(int errorCode, string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
System.String | reason | exception message |
Exception | inner | nested exception |
APILoggingException(Int32, String, String)
overloaded constructor
Declaration
public APILoggingException(int errorCode, string reason, string stackTrace)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
System.String | reason | exception message |
System.String | stackTrace | stacktrace for exception |
APILoggingException(SerializationInfo, StreamingContext)
overloaded constructor, takes serialization info and streaming context.
Declaration
public APILoggingException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |