This documentation is archived and is not being maintained.

MailEventNotificationInfo::EventsDiscardedDueToMessageLimit Property

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

Namespace:  System.Web.Management
Assembly:  System.Web (in System.Web.dll)

public:
property int EventsDiscardedDueToMessageLimit {
	int get ();
}

Property Value

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

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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: