Gets a value which specifies the error that caused the exception.
Returns a NntpClient.ErrorCode enumeration value which specifies the error code.
The ErrorCode property returns the error code that specifies the cause of the exception.
The default constructor for the NntpClientException class sets the error code to the last network error that occurred. For more information about the errors that may occur, refer to the NntpClient.ErrorCode enumeration.