SocketTools .NET Edition

ImapClient.OnUpdate Event

Occurs when the server sends a mailbox update notification to the client.

[Visual Basic]
Public Event OnUpdate As OnUpdateEventHandler
[C#]
public event OnUpdateEventHandler OnUpdate;

Event Data

The event handler receives an argument of type ImapClient.UpdateEventArgs containing data related to this event. The following ImapClient.UpdateEventArgs properties provide information specific to this event.

Property Description
Message Gets the message number.
UpdateType Gets the type of update notification that has been sent by the server.

Remarks

This event is only generated when the Idle method has been used to enable mailbox status monitoring.

See Also

ImapClient Class | SocketTools Namespace | Idle Method | OnUpdateEventHandler Delegate