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.
Namespace:
Rebex.Net
Assembly:
Rebex.Networking (in Rebex.Networking.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ message As String, _ status As ProxySocketExceptionStatus, _ innerException As Exception _ ) |
C# |
---|
public ProxySocketException( string message, ProxySocketExceptionStatus status, Exception innerException ) |
Parameters
- message
- Type: System..::..String
The message that describes the error.
- status
- Type: Rebex.Net..::..ProxySocketExceptionStatus
One of the ProxySocketExceptionStatus values.
- innerException
- Type: System..::..Exception
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.