PowerTCP Mail for .NET
ConnectedChangedEx Event
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > Imap Class : ConnectedChangedEx Event




Raised when the value of the Object.Connected property changes. Supersedes the ConnectedChanged event.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Raised when the value of the Connected property changes.")>
<CategoryAttribute("Progress")>
Public Event ConnectedChangedEx As EventHandlerEx
Visual Basic (Usage)Copy Code
Dim instance As Imap
Dim handler As EventHandlerEx
 
AddHandler instance.ConnectedChangedEx, handler
C# 
[DescriptionAttribute("Raised when the value of the Connected property changes.")]
[CategoryAttribute("Progress")]
public event EventHandlerEx ConnectedChangedEx
Managed Extensions for C++ 
[DescriptionAttribute("Raised when the value of the Connected property changes.")]
[CategoryAttribute("Progress")]
public: __event EventHandlerEx* ConnectedChangedEx
C++/CLI 
[DescriptionAttribute("Raised when the value of the Connected property changes.")]
[CategoryAttribute("Progress")]
public:
event EventHandlerEx^ ConnectedChangedEx

Remarks

This event is raised when the value of the Object.Connected property changes. The value of the Object.Connected property changes whenever a TCP connection to a resource is either made or closed.

This event is useful in several scenarios, for example:

  • Displaying the user when a connection has been terminated.
  • Notifying the application if a connection has been terminated.

If you are using the PowerTCP component as a reference, you must create a method to handle the event yourself. For more information on using events using PowerTCP.NET within the Visual Studio.NET environment, see Using Events In PowerTCP.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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