Dart.Mail Namespace > Imap Class : OnUpdate Method |
Protected Overridable Sub OnUpdate( _ ByVal e As ImapUpdateEventArgs _ )
Dim instance As Imap Dim e As ImapUpdateEventArgs instance.OnUpdate(e)
protected virtual void OnUpdate( ImapUpdateEventArgs e )
protected: virtual void OnUpdate( ImapUpdateEventArgs* e )
protected: virtual void OnUpdate( ImapUpdateEventArgs^ e )
This method allows derived classes to handle the event without attaching a delegate; marshaling to the UI thread is not provided. This is the preferred technique for handling an event in a derived class.
Note to Inheritors: When overriding OnUpdate in a derived class, be sure to call the base class OnUpdate method so that registered delegates receive the event.