Table of Contents

Class EventTypeAlreadyAddedToUniqueConstraint

Namespace
Cratis.Chronicle.Events.Constraints
Assembly
Cratis.Chronicle.dll

Exception that gets thrown when an event type has already been added to the unique constraint.

public class EventTypeAlreadyAddedToUniqueConstraint : Exception, ISerializable
Inheritance
EventTypeAlreadyAddedToUniqueConstraint
Implements
Inherited Members

Remarks

Initializes a new instance of EventTypeAlreadyAddedToUniqueConstraint.

Constructors

EventTypeAlreadyAddedToUniqueConstraint(ConstraintName, EventType, IEnumerable<string>)

Exception that gets thrown when an event type has already been added to the unique constraint.

public EventTypeAlreadyAddedToUniqueConstraint(ConstraintName constraintName, EventType eventType, IEnumerable<string> properties)

Parameters

constraintName ConstraintName

The name of the constraint.

eventType EventType

The event type that is duplicate.

properties IEnumerable<string>

The properties in the definition.

Remarks

Initializes a new instance of EventTypeAlreadyAddedToUniqueConstraint.

Properties

EventType

Gets the event type.

public EventType EventType { get; }

Property Value

EventType

Properties

Gets the property.

public IEnumerable<string> Properties { get; }

Property Value

IEnumerable<string>