Dart.Mail Namespace > Imap Class : OnAlert Method |
Protected Overridable Sub OnAlert( _ ByVal e As ImapAlertEventArgs _ )
Dim instance As Imap Dim e As ImapAlertEventArgs instance.OnAlert(e)
protected virtual void OnAlert( ImapAlertEventArgs e )
protected: virtual void OnAlert( ImapAlertEventArgs* e )
protected: virtual void OnAlert( ImapAlertEventArgs^ 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 OnAlert method so that registered delegates receive the event.