ProxySocketException Constructor
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9119)
ProxySocketException(String, ProxySocketExceptionStatus)
Initializes a new instance of the ProxySocketException class with the specified error message and status.
Declaration
public ProxySocketException(string message, ProxySocketExceptionStatus status)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
ProxySocketExceptionStatus | status | One of the ProxySocketExceptionStatus values. |
ProxySocketException(String, ProxySocketExceptionStatus, Exception)
Initializes a new instance of the ProxySocketException class with the specified error message, status, and a reference to the inner exception that is the cause of this exception.
Declaration
public ProxySocketException(string message, ProxySocketExceptionStatus status, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
ProxySocketExceptionStatus | status | One of the ProxySocketExceptionStatus values. |
Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
ProxySocketException(SocketException)
Initializes a new instance of the ProxySocketException class with the reference to the socket exception that is the cause of this exception.
Declaration
public ProxySocketException(SocketException e)
Parameters
Type | Name | Description |
---|---|---|
SocketException | e | The socket exception that is the cause of the current exception. |