Edit

Share via


MailEventNotificationInfo.EventsDiscardedDueToMessageLimit Property

Definition

Gets the number of events that are discarded by the buffer because the buffer has exceeded the message limit for the current notification.

public:
 property int EventsDiscardedDueToMessageLimit { int get(); };
public int EventsDiscardedDueToMessageLimit { get; }
member this.EventsDiscardedDueToMessageLimit : int
Public ReadOnly Property EventsDiscardedDueToMessageLimit As Integer

Property Value

The number of events discarded by the buffer because the buffer has exceeded the message limit for the current notification.

Remarks

The message limit specifies the maximum number of messages that are sent during a single notification, which is the maximum number of messages per notification multiplied by the maximum number of events allowed per message. These values are specified by the maxEventsPerMessage and the maxMessagesPerNotification attributes in the appropriate provider sub-section of the healthMonitoring section in a configuration file.

A notification occurs when the event-buffering system sends out messages for accumulated events. This may occur because the buffer has accumulated the maximum allowed number of events, because the time interval between sending events has expired, or because the health-monitoring system has requested a buffer flush. The entire event buffer is sent to the recipients in as few messages as possible, based on the maxEventsPerMessage value. Buffer settings are specified in the bufferModes subsection of the healthMonitoring section in a configuration file.

Applies to

See also