SaaS CMS has officially launched! Learn more now.

Interface IEventMessageValidator

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Namespace: EPiServer.Events.Providers.Internal
Assembly: EPiServer.Events.dll
Version: 11.20.7
Syntax
public interface IEventMessageValidator

Methods

Validate(EventMessage, Boolean)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Validates a received message and verifies that an event should be raised for it.

Declaration
bool Validate(EventMessage message, bool validateMessageIntegrity)
Parameters
Type Name Description
EventMessage message

The message that should be validated.

System.Boolean validateMessageIntegrity

if set to true the message integrity should be validated.

Returns
Type Description
System.Boolean

true if an event should be raised for the message; otherwise false.

Remarks

Calling this method will also trigger a message sequence validation.

Events

MessageMissed

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Occurs if the IEventMessageValidator discovers that an event message has been not been received.

Declaration
event EventHandler<EventMissedEventArgs> MessageMissed
Event Type
Type Description
System.EventHandler<EventMissedEventArgs>

Extension Methods