Class InvalidStateException
- Namespace
- Amazon.EventBridge.Model
- Assembly
- AWSSDK.EventBridge.dll
The specified state is not a valid state for an event source.
public class InvalidStateException : AmazonEventBridgeException
- Inheritance
-
InvalidStateException
Constructors
InvalidStateException(Exception)
Construct instance of InvalidStateException
public InvalidStateException(Exception innerException)
Parameters
innerException
Exception
InvalidStateException(string)
Constructs a new InvalidStateException with the specified error message.
public InvalidStateException(string message)
Parameters
message
stringDescribes the error encountered.
InvalidStateException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of InvalidStateException
public InvalidStateException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode
InvalidStateException(string, Exception)
Construct instance of InvalidStateException
public InvalidStateException(string message, Exception innerException)
Parameters
InvalidStateException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of InvalidStateException
public InvalidStateException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringinnerException
ExceptionerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode