System.Net.Sockets.SocketException Class

public class SocketException : SystemException

Base Types

Object
  Exception
    SystemException
      SocketException

Assembly

System

Library

Networking

Summary

Represents the error that occurs when a socket error occurs.

Description

A SocketException is thrown by the Socket and Dns classes when a network error occurs.

See Also

System.Net.Sockets Namespace

Members

SocketException Constructors

SocketException Constructor


SocketException Constructor

public SocketException();

Summary

Constructs and initializes a new instance of the SocketException class.

Description

The exact behavior of this constructor is implementation-defined.

See Also

System.Net.Sockets.SocketException Class, System.Net.Sockets Namespace