PowerTCP Mail for .NET
OnAlert Method




An ImapAlertEventArgs containing event data.
Raises the Alert event.
Syntax
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
) 

Parameters

e
An ImapAlertEventArgs containing event data.
Remarks

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.

See Also

Reference

Imap Class
Imap Members


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic