Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MailEventNotificationInfo Class

MailEventNotificationInfo Class

Provides information to the TemplatedMailWebEventProvider object about the current event notification.


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

public sealed class MailEventNotificationInfo

The MailEventNotificationInfo type exposes the following members.

Public propertyEventsGets a collection of events for the current message.
Public propertyEventsDiscardedByBufferGets the number of events discarded by the buffer since the last notification.
Public propertyEventsDiscardedDueToMessageLimitGets the number of events that are discarded by the buffer because the buffer has exceeded the message limit for the current notification.
Public propertyEventsInBufferGets the number of events remaining in the buffer after the current notification.
Public propertyEventsInNotificationGets the number of events being processed for the current notification.
Public propertyEventsRemainingGets the number of events remaining in the buffer after the current notification.
Public propertyLastNotificationUtcGets the time of the previous notification.
Public propertyMessageGets the e-mail message that will be sent as the current message.
Public propertyMessageSequenceGets the position of this message in the sequence for the current notification.
Public propertyMessagesInNotificationGets the total number of messages in the current notification.
Public propertyNotificationSequenceGets the position of this notification within the total number of notifications made to date.
Public propertyNotificationTypeGets the type of the current notification.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

This class is used to pass information to the e-mail template for a TemplatedMailWebEventProvider object when an event notification occurs. The e-mail template then formats the event information for the e-mail message body.

A notification occurs when buffering is disabled, the event-buffering system sends out messages for accumulated events, or an event occurs and the event-buffering system is disabled.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft