| Visual Basic (Declaration) | |
|---|---|
<CategoryAttribute("Progress")> <DescriptionAttribute("Raised when the value of the Connected property changes.")> Public Event ConnectedChangedEx As EventHandlerEx | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Pop Dim handler As EventHandlerEx AddHandler instance.ConnectedChangedEx, handler | |
| C# | |
|---|---|
[CategoryAttribute("Progress")] [DescriptionAttribute("Raised when the value of the Connected property changes.")] public event EventHandlerEx ConnectedChangedEx | |
| Managed Extensions for C++ | |
|---|---|
[CategoryAttribute("Progress")] [DescriptionAttribute("Raised when the value of the Connected property changes.")] public: __event EventHandlerEx* ConnectedChangedEx | |
| C++/CLI | |
|---|---|
[CategoryAttribute("Progress")] [DescriptionAttribute("Raised when the value of the Connected property changes.")] public: event EventHandlerEx^ ConnectedChangedEx | |
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.
Target Platforms: Microsoft .NET Framework 2.0