/// <summary>Initializes a new instance of the <see cref="T:System.Net.Sockets.SocketException" /> class with the last operating system error code.</summary> public SocketException() : base(SocketException.WSAGetLastError_internal()) { }