Gets a value which specifies the numeric value of the error that caused the exception.
An integer value that specifies the error that caused the exception.
The Number property returns an integer value which specifies the numeric value of the error that caused the exception. This value may be the same as values returned by the Windows Sockets API. For more information about socket error codes, see the Windows Socket Version 2 API error code documentation in MSDN.