Visual Basic (Declaration) | |
---|---|
Public Event Disconnected As EventHandler(Of ExceptionEventArgs) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As SocketConnection Dim handler As EventHandler(Of ExceptionEventArgs) AddHandler instance.Disconnected, handler |
C# | |
---|---|
public event EventHandler<ExceptionEventArgs> Disconnected |
C++/CLI | |
---|---|
public: event EventHandler<ExceptionEventArgs^>^ Disconnected |
The event handler receives an argument of type ExceptionEventArgs containing data related to this event. The following ExceptionEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Exception | |
Handled |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2