ConnectionException Constructor
ConnectionException()
Initializes a new instance of the ConnectionException class.
Declaration
public ConnectionException()
ConnectionException(String)
Initializes a new instance of the ConnectionException class with a specified error message.
Declaration
public ConnectionException(string message)
Parameters
String | message | The message that describes the error. |
ConnectionException(Exception)
Initializes a new instance of the ConnectionException class with a reference to the inner exception that is the cause of this exception.
Declaration
public ConnectionException(Exception innerException)
Parameters
Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
ConnectionException(String, Exception)
Initializes a new instance of the ConnectionException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public ConnectionException(string message, Exception innerException)
Parameters
String | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |