Table of Contents

Class InvalidSsmlException

Namespace
Amazon.Polly.Model
Assembly
AWSSDK.Polly.dll

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 SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The 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 string

Describes 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 string
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode

InvalidSsmlException(string, Exception)

Construct instance of InvalidSsmlException

public InvalidSsmlException(string message, Exception innerException)

Parameters

message string
innerException Exception

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 string
innerException Exception
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode