Class InvalidLastEventProcessedException
The EventStore.ClientAPI.Position information provided was invalid and a EventStore.ClientAPI.Position was unable to be created.
Inheritance
Inherited Members
Namespace: Cqrs.EventStore.Bus
Assembly: Cqrs.EventStore.dll
Syntax
[Serializable]
public class InvalidLastEventProcessedException : Exception, ISerializable, _Exception
Constructors
InvalidLastEventProcessedException()
Instantiates a new instance of InvalidLastEventProcessedException.
Declaration
public InvalidLastEventProcessedException()
InvalidLastEventProcessedException(SerializationInfo, StreamingContext)
Instantiates a new instance of InvalidLastEventProcessedException with serialized data.
Declaration
protected InvalidLastEventProcessedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
InvalidLastEventProcessedException(String)
Instantiates a new instance of InvalidLastEventProcessedException with a specified error message.
Declaration
public InvalidLastEventProcessedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
InvalidLastEventProcessedException(String, Exception)
Instantiates a new instance of InvalidLastEventProcessedException with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public InvalidLastEventProcessedException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |