Interface IEventMessageValidator

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

Methods

Validate(EventMessage, Boolean)

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

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