PowerTCP Mail for .NET
PopProgressEventArgs Class
Members 




Provides data for Progress.
Object Model
PopProgressEventArgs ClassPopMessage Class
Syntax
Public Class PopProgressEventArgs 
   Inherits ProgressEventArgs
Dim instance As PopProgressEventArgs
public class PopProgressEventArgs : ProgressEventArgs 
public __gc class PopProgressEventArgs : public ProgressEventArgs 
public ref class PopProgressEventArgs : public ProgressEventArgs 
Remarks

Progress is raised as each data buffer is processed during message retrieval. This event include a PopProgressEventArgs, providing data for displaying progress to the user. For example, if you wish to display progress for the retrieval of ALL messages using a ProgressBar, use 0 for System.Windows.Forms.ProgressBar.Minimum, pop1.Messages.Length for System.Windows.Forms.ProgressBar.Maximum, and MessageBase.Id as System.Windows.Forms.ProgressBar.Value. If you wish to display progress for each message, use 0 for System.Windows.Forms.ProgressBar.Minimum, ProgressEventArgs.Length for System.Windows.Forms.ProgressBar.Maximum, and ProgressEventArgs.Position for System.Windows.Forms.ProgressBar.Value.

ProgressEventArgs.Length uses MessageBase.Size, so the 'getSizes' parameter of Authenticate must be true if a valid length is desired.

Inheritance Hierarchy

System.Object
   System.EventArgs
      Dart.Mail.ProgressEventArgs
         Dart.Mail.PopProgressEventArgs

See Also

Reference

PopProgressEventArgs Members
Dart.Mail Namespace


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