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