SocketException.Message Property

 

Gets the error message that is associated with this exception.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

public override string Message { get; }

Property Value

Type: System.String

A string that contains the error message.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show: