Initializes a new instance of the SmtpClientException class with a specified error number.
This constructor sets the ErrorCode property to the specified error code. For more information about the errors that may occur, refer to the SmtpClient.ErrorCode enumeration.