Returns an exception message for the supplied SocketException.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
Public Shared Function GetSocketExceptionMessage ( _
	error As SocketException _
) As String
C#
public static string GetSocketExceptionMessage(
	SocketException error
)

Parameters

error
Type: System.Net.Sockets..::..SocketException
Socket exception.

Return Value

Exception message.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also