Dart.Mail Namespace : PopProgressEventArgs Class |
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
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.
System.Object
System.EventArgs
Dart.Mail.ProgressEventArgs
Dart.Mail.PopProgressEventArgs