Disconnected Event
See Also 
SourceCode.Net Namespace > SocketConnection Class : Disconnected Event



Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Event Disconnected As EventHandler(Of ExceptionEventArgs)
Visual Basic (Usage) Copy Code
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

Event Data

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  

Requirements

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

See Also