Class InvalidSsmlException
Polly exception
public class InvalidSsmlException : AmazonPollyException
  - Inheritance
 - 
      
      
      InvalidSsmlException
 
Constructors
InvalidSsmlException(Exception)
Construct instance of InvalidSsmlException
public InvalidSsmlException(Exception innerException)
  Parameters
innerExceptionException
InvalidSsmlException(SerializationInfo, StreamingContext)
Constructs a new instance of the InvalidSsmlException class with serialized data.
protected InvalidSsmlException(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).
InvalidSsmlException(string)
Constructs a new InvalidSsmlException with the specified error message.
public InvalidSsmlException(string message)
  Parameters
messagestringDescribes the error encountered.
InvalidSsmlException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of InvalidSsmlException
public InvalidSsmlException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
  Parameters
messagestringerrorTypeErrorTypeerrorCodestringrequestIdstringstatusCodeHttpStatusCode
InvalidSsmlException(string, Exception)
Construct instance of InvalidSsmlException
public InvalidSsmlException(string message, Exception innerException)
  Parameters
InvalidSsmlException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of InvalidSsmlException
public InvalidSsmlException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
  Parameters
messagestringinnerExceptionExceptionerrorTypeErrorTypeerrorCodestringrequestIdstringstatusCodeHttpStatusCode