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 } Hierarchy System.Object |