Describe a socket exception

Namespace: Contracts
Assembly: Contracts (in Contracts.dll)

Public Shared Function GetSocketError( _ 
ByVal se As SocketException, _ 
ByVal address As String, _ 
ByVal port As Integer _ 
) As String
This language is not supported or no code example is available.
public static string GetSocketError( 
SocketException se, 
string address, 
int port 
)
This language is not supported or no code example is available.
public:  
static String^ GetSocketError( 
SocketException^ se, 
String^ address, 
int port 
)
This language is not supported or no code example is available.
public static function GetSocketError( 
se : SocketException, 
address : String, 
port : int 
) : String;
This language is not supported or no code example is available.

Parameters

se
Type: SocketException

<default>

address
Type: string

<default>

port
Type: int

<default>

Return Value

Type: string

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1