Class EventMessageValidator
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
Inherited Members
Namespace: EPiServer.Events.Providers.Internal
Assembly: EPiServer.Events.dll
Version: 11.20.7Syntax
public class EventMessageValidator : IEventMessageValidator, IDisposable
Constructors
EventMessageValidator(IEventSiteRegistry)
Declaration
public EventMessageValidator(IEventSiteRegistry siteRegistry)
Parameters
Type | Name | Description |
---|---|---|
IEventSiteRegistry | siteRegistry |
EventMessageValidator(IEventSiteRegistry, ServiceAccessor<ITimer>)
Declaration
public EventMessageValidator(IEventSiteRegistry siteRegistry, ServiceAccessor<ITimer> sequenceCheckTimerFactory)
Parameters
Type | Name | Description |
---|---|---|
IEventSiteRegistry | siteRegistry | |
ServiceAccessor<ITimer> | sequenceCheckTimerFactory |
Properties
EventTimeout
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets a value indicating how long this EventMessageValidator should wait before considering an event as missing.
Declaration
public virtual TimeSpan EventTimeout { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Methods
Dispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnEventMissed(EventMissedEventArgs)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Raises the EventMissed event.
Declaration
protected virtual void OnEventMissed(EventMissedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
EventMissedEventArgs | args | The EventMissedEventArgs instance containing the event data. |
Validate(EventMessage, Boolean)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public virtual bool Validate(EventMessage message, bool validateMessageIntegrity)
Parameters
Type | Name | Description |
---|---|---|
EventMessage | message | The message that should be validated. |
System.Boolean | validateMessageIntegrity | if set to |
Returns
Type | Description |
---|---|
System.Boolean |
|
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.
Declaration
public event EventHandler<EventMissedEventArgs> MessageMissed
Event Type
Type | Description |
---|---|
System.EventHandler<EventMissedEventArgs> |