Export (0) Print
Expand All

MailEventNotificationInfo Class

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

System.Object
  System.Web.Management.MailEventNotificationInfo

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

public sealed class MailEventNotificationInfo

The MailEventNotificationInfo type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.)
Top

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

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

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