Class InvalidSsmlException
Polly exception
public class InvalidSsmlException : AmazonPollyException
- Inheritance
-
InvalidSsmlException
Constructors
InvalidSsmlException(Exception)
Construct instance of InvalidSsmlException
public InvalidSsmlException(Exception innerException)
Parameters
innerException
Exception
InvalidSsmlException(SerializationInfo, StreamingContext)
Constructs a new instance of the InvalidSsmlException class with serialized data.
protected InvalidSsmlException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
The
info
parameter 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
message
stringDescribes 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
message
stringerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode
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
message
stringinnerException
ExceptionerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode