PowerTCP Mail for .NET
PopProgressEventArgs Class
Members  See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace : PopProgressEventArgs Class




This class is passed into the Pop.Progress event and provides data for this event.

Object Model

PopProgressEventArgs ClassPopMessage Class

Syntax

Visual Basic (Declaration) 
Public Class PopProgressEventArgs 
   Inherits System.EventArgs
Visual Basic (Usage)Copy Code
Dim instance As PopProgressEventArgs
C# 
public class PopProgressEventArgs : System.EventArgs 
Managed Extensions for C++ 
public __gc class PopProgressEventArgs : public System.EventArgs 
C++/CLI 
public ref class PopProgressEventArgs : public System.EventArgs 

Remarks

When a message is retrieved from the server, the Pop.Progress event will be raised in the frequency specified by Pop.Connection.ReceiveBufferSize. This event will contain the PopProgressEventArgs class, providing data useful for displaying progress to the user. For example, if you wish to display progress for the retrieval of ALL messages, use 0 for minimum, pop1.Messages.Length for maximum, and PopMessage.Id as value. If you wish to display progress for each message, use 0 for minimum, PopProgressEventArgs.Length for maximum, and PopProgressEventArgs.Position for the value.

Inheritance Hierarchy

System.Object
   System.EventArgs
      Dart.PowerTCP.Mail.PopProgressEventArgs

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.