Table of Contents

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 string

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

InvalidStateException(string, Exception)

Construct instance of InvalidStateException

public InvalidStateException(string message, Exception innerException)

Parameters

message string
innerException Exception

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