Class PIINotSupportedOnEventSourceId

Namespace
Cratis.Chronicle.Compliance.GDPR
Assembly
Cratis.Chronicle.dll

The exception that is thrown when the PIIAttribute is applied to a type that inherits from EventSourceId or EventSourceId<T>.

public class PIINotSupportedOnEventSourceId : Exception, ISerializable
Inheritance
PIINotSupportedOnEventSourceId
Implements
Inherited Members
Extension Methods

Remarks

Event source identifiers are used to correlate events and cannot be encrypted, because encrypting them would break the ability to look up and correlate events. If the identifier itself is sensitive, consider using a non-sensitive surrogate key as the event source identifier and storing the sensitive value in a separate event field marked with PIIAttribute.

Constructors

PIINotSupportedOnEventSourceId(Type)

The exception that is thrown when the PIIAttribute is applied to a type that inherits from EventSourceId or EventSourceId<T>.

public PIINotSupportedOnEventSourceId(Type type)

Parameters

type Type

The Type that has the attribute applied incorrectly.

Remarks

Event source identifiers are used to correlate events and cannot be encrypted, because encrypting them would break the ability to look up and correlate events. If the identifier itself is sensitive, consider using a non-sensitive surrogate key as the event source identifier and storing the sensitive value in a separate event field marked with PIIAttribute.