| Visual Basic (Declaration) | |
|---|---|
Public Event ReceivedMessage() As TCPClient.ReceivedMsgEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public event TCPClient.ReceivedMsgEventHandler ReceivedMessage() | |
| Managed Extensions for C++ | |
|---|---|
public: __event TCPClient.ReceivedMsgEventHandler* ReceivedMessage | |
| C++/CLI | |
|---|---|
public: event TCPClient::ReceivedMsgEventHandler^ ReceivedMessage | |
The event handler receives an argument of type TCPSocketEventArgs containing data related to this event. The following TCPSocketEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| m_msg | |
| m_seq | |
| m_sock |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family