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