Constructor ConfigurationException
ConfigurationException()
Default constructor.
Declaration
public ConfigurationException()
ConfigurationException(String)
Overloaded constructor, takes the reason as parameter.
Declaration
public ConfigurationException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |
ConfigurationException(String, Exception)
Overloaded constructor.
Declaration
public ConfigurationException(string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | Reason for exception |
System.Exception | inner | Nested exception |
ConfigurationException(Int32)
overloaded constructor
Declaration
public ConfigurationException(int errorCode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
ConfigurationException(Int32, String)
overloaded constructor
Declaration
public ConfigurationException(int errorCode, string reason)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
System.String | reason | exception message |
ConfigurationException(Int32, String, String)
Overloaded constructor
Declaration
public ConfigurationException(int errorCode, string reason, string stackTrace)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
System.String | reason | exception message |
System.String | stackTrace | stacktrace |
ConfigurationException(Int32, String, Exception)
overloaded cnstructor
Declaration
public ConfigurationException(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 |
ConfigurationException(SerializationInfo, StreamingContext)
overloaded constructor, manual serialization.
Declaration
protected ConfigurationException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |