Initializes a new instance of the TextMessageException 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 TextMessage.ErrorCode enumeration.