Name

SocketException

Synopsis

This exception represents a socket-related error.

Public Class SocketException : Inherits System.ComponentModel.Win32Exception
' Public Constructors
   Public Sub New() 
   Public Sub New( ByVal errorCode As Integer) 
' Protected Constructors
   Protected Sub New(
        ByVal serializationInfo As System.Runtime.Serialization.SerializationInfo, 
        ByVal streamingContext As System.Runtime.Serialization.StreamingContext) 
' Public Instance Properties
   Overrides Public ReadOnly Property ErrorCode As Integer  
End Class

Hierarchy

System.ObjectSystem.Exception(System.Runtime.Serialization.ISerializable)System.SystemExceptionSystem.Runtime.InteropServices.ExternalExceptionSystem.ComponentModel.Win32Exception SocketException

Get VB.NET Core Classes 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.