PowerTCP Mail for .NET
OnProgress Method (Smtp)




SmtpProgressEventArgs containing event data.
Raises the Progress event.
Syntax
Protected Overridable Sub OnProgress( _
   ByVal e As SmtpProgressEventArgs _
) 
Dim instance As Smtp
Dim e As SmtpProgressEventArgs
 
instance.OnProgress(e)
protected virtual void OnProgress( 
   SmtpProgressEventArgs e
)
protected: virtual void OnProgress( 
   SmtpProgressEventArgs* e
) 
protected:
virtual void OnProgress( 
   SmtpProgressEventArgs^ e
) 

Parameters

e
SmtpProgressEventArgs containing event data.
Remarks

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 OnProgress in a derived class, be sure to call the base class OnProgress method so that registered delegates receive the event.

See Also

Reference

Smtp Class
Smtp Members


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