Class DeviceClosedConnectionException
The exception that is thrown when a device closes a connection.
[Serializable]
public class DeviceClosedConnectionException : IOException, ISerializable, _Exception
- Inheritance
-
DeviceClosedConnectionException
- Implements
- Inherited Members
- Extension Methods
Constructors
DeviceClosedConnectionException()
Initializes a new instance of the DeviceClosedConnectionException class.
public DeviceClosedConnectionException()
DeviceClosedConnectionException(SerializationInfo, StreamingContext)
Initializes a new instance of the DeviceClosedConnectionException class with serialized data.
protected DeviceClosedConnectionException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
DeviceClosedConnectionException(string)
Initializes a new instance of the DeviceClosedConnectionException class with a specified error message.
public DeviceClosedConnectionException(string message)
Parameters
message
stringThe message that describes the error.
DeviceClosedConnectionException(string, Exception)
Initializes a new instance of the DeviceClosedConnectionException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public DeviceClosedConnectionException(string message, Exception inner)