MailEventNotificationInfo 类

定义

将关于当前事件通知的信息提供给 TemplatedMailWebEventProvider 对象。Provides information to the TemplatedMailWebEventProvider object about the current event notification.

public ref class MailEventNotificationInfo sealed
public sealed class MailEventNotificationInfo
type MailEventNotificationInfo = class
Public NotInheritable Class MailEventNotificationInfo
继承
MailEventNotificationInfo

注解

当发生事件通知时,此类用于将信息传递给对象的电子邮件模板 TemplatedMailWebEventProviderThis class is used to pass information to the email template for a TemplatedMailWebEventProvider object when an event notification occurs. 然后,电子邮件模板会设置电子邮件正文的事件信息的格式。The email template then formats the event information for the email 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.

属性

Events

获取当前消息的事件的集合。Gets a collection of events for the current message.

EventsDiscardedByBuffer

获取自上次通知以来被缓冲区丢弃的事件数。Gets the number of events discarded by the buffer since the last notification.

EventsDiscardedDueToMessageLimit

获取因为缓冲区已超出当前通知的消息上限而被缓冲区丢弃的事件数。Gets the number of events that are discarded by the buffer because the buffer has exceeded the message limit for the current notification.

EventsInBuffer

获取在当前通知之后仍然留在缓冲区中的事件数。Gets the number of events remaining in the buffer after the current notification.

EventsInNotification

获取正在为当前通知处理的事件数。Gets the number of events being processed for the current notification.

EventsRemaining

获取在当前通知之后仍然留在缓冲区中的事件数。Gets the number of events remaining in the buffer after the current notification.

LastNotificationUtc

获取前一次通知的时间。Gets the time of the previous notification.

Message

获取作为当前邮件发送的电子邮件。Gets the email message that will be sent as the current message.

MessageSequence

获取此消息在当前通知的序列中的位置。Gets the position of this message in the sequence for the current notification.

MessagesInNotification

获取当前通知中的消息总数。Gets the total number of messages in the current notification.

NotificationSequence

获取此通知在截止目前发出的通知总数中的位置。Gets the position of this notification within the total number of notifications made to date.

NotificationType

获取当前通知的类型。Gets the type of the current notification.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅