MessageExpungedIdleEvent Class

A notification that a message was expunged from a folder.

Definition

Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public sealed class MessageExpungedIdleEvent : ImapIdleEvent
Inheritance
Object    ImapIdleEvent    MessageExpungedIdleEvent

Remarks

Reported when the server sends an EXPUNGE response.

The Index is relative to the state of the folder at the time the message was expunged, which takes into account any previous MessageExpungedIdleEvents in the same batch, so the events must be processed in order.

Constructors

MessageExpungedIdleEvent Initialize a new instance of the MessageExpungedIdleEvent class.

Properties

Folder Get the folder that the change applies to.
(Inherited from ImapIdleEvent)
Index Get the index of the message that was expunged.

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Returns a string that represents the current object.
(Inherited from Object)

See Also