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