PowerTCP Mail for .NET
Refresh Method
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > MailboxCollection Class : Refresh Method




Refreshes the list of mailboxes represented by this collection.

Syntax

Visual Basic (Declaration) 
Public Sub Refresh() 
Visual Basic (Usage)Copy Code
Dim instance As MailboxCollection
 
instance.Refresh()
C# 
public void Refresh()
Managed Extensions for C++ 
public: void Refresh(); 
C++/CLI 
public:
void Refresh(); 

Exceptions

ExceptionDescription
Dart.PowerTCP.Mail.ProtocolExceptionBad IMAP protocol response received from server.
System.Net.Sockets.SocketExceptionThe requested address is not valid in its context.

Remarks

The MailboxCollection.Refresh method refreshes the list of mailboxes represented by this collection. This could be either the list of top-level mailboxes or a set of child mailboxes.

If the contents of the MailboxCollection are modified by using the methods of the MailboxCollection the collection will be automatically refreshed. MailboxCollection.Refresh would typically only be used to refresh the collection if two users are using the same mail account simultaneously.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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