Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Net.​Sockets.​SocketException
Assembly: System.Net.Primitives
Inheritance: object → Exception → SystemException → Runtime.InteropServices.ExternalException → ComponentModel.Win32Exception → SocketException
The exception that is thrown when a socket error occurs.
Properties
public
int
ErrorCode
Gets the error code that is associated with this exception.
public
string
Message
Gets the error message that is associated with this exception.
public
SocketError
SocketErrorCode
Gets the error code that is associated with this exception.
public
int
NativeErrorCode
Data
public
string
HelpLink
public
int
HResult
public
Exception
InnerException
public
string
Source
public
string
StackTrace
TargetSite
Methods
public
void
GetObjectData​(Runtime.Serialization.SerializationInfo info,
Runtime.Serialization.StreamingContext context)
Inherited from Win32Exception
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object