Name
SocketException
Synopsis
This exception represents a socket-related error.
public class SocketException : System.ComponentModel.Win32Exception { // Public Constructors public method SocketException(); public method SocketException(int errorCode); // Protected Constructors protected method SocketException( System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext); // Public Instance Properties public override field int ErrorCode{get; } // overrides System.Runtime.InteropServices.ExternalException }
Hierarchy
System.Object→System.Exception(System.Runtime.Serialization.ISerializable)→System.SystemException→System.Runtime.InteropServices.ExternalException→System.ComponentModel.Win32Exception→SocketException
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.