Class TextLengthExceededException
Polly exception
public class TextLengthExceededException : AmazonPollyException
  - Inheritance
 - 
      
      
      TextLengthExceededException
 
Constructors
TextLengthExceededException(Exception)
Construct instance of TextLengthExceededException
public TextLengthExceededException(Exception innerException)
  Parameters
innerExceptionException
TextLengthExceededException(SerializationInfo, StreamingContext)
Constructs a new instance of the TextLengthExceededException class with serialized data.
protected TextLengthExceededException(SerializationInfo info, StreamingContext context)
  Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
 The
infoparameter is null.- SerializationException
 The class name is null or HResult is zero (0).
TextLengthExceededException(string)
Constructs a new TextLengthExceededException with the specified error message.
public TextLengthExceededException(string message)
  Parameters
messagestringDescribes the error encountered.
TextLengthExceededException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of TextLengthExceededException
public TextLengthExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
  Parameters
messagestringerrorTypeErrorTypeerrorCodestringrequestIdstringstatusCodeHttpStatusCode
TextLengthExceededException(string, Exception)
Construct instance of TextLengthExceededException
public TextLengthExceededException(string message, Exception innerException)
  Parameters
TextLengthExceededException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of TextLengthExceededException
public TextLengthExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
  Parameters
messagestringinnerExceptionExceptionerrorTypeErrorTypeerrorCodestringrequestIdstringstatusCodeHttpStatusCode