Click or drag to resize

ConnectException Constructor (String, Exception)

Initializes a new instance of the ConnectException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Namespace:  OBCOM.NetClient
Assembly:  OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntax
public ConnectException(
	string message,
	Exception innerException
)

Parameters

message
Type: SystemString
The error message that explains the reason for the exception.
innerException
Type: SystemException
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.
See Also