This exception represents a socket- related error. public class SocketException : System.ComponentModel.Win32Exception { // Public Constructors public SocketException ( ); public SocketException (int errorCode ); // Protected Constructors protected SocketException (System.Runtime.Serialization.SerializationInfo serializationInfo , System.Runtime.Serialization.StreamingContext streamingContext ); // Public Instance Properties public override int ErrorCode {get; } // overrides System.Runtime.InteropServices.ExternalException } HierarchySystem.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException System.Runtime.InteropServices.ExternalException System.ComponentModel.Win32Exception SocketException |