| Visual Basic (Declaration) | |
|---|---|
Public Event ReceivedMessage() As UDPServer.ReceivedMsgEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public event UDPServer.ReceivedMsgEventHandler ReceivedMessage() | |
| Managed Extensions for C++ | |
|---|---|
public: __event UDPServer.ReceivedMsgEventHandler* ReceivedMessage | |
| C++/CLI | |
|---|---|
public: event UDPServer::ReceivedMsgEventHandler^ ReceivedMessage | |
The event handler receives an argument of type UDPSocketEventArgs containing data related to this event. The following UDPSocketEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| m_data | |
| m_strIp |
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