PowerTCP Telnet for .NET CF
Data Event
See Also  Send comments on this topic.
Dart.Common Namespace > TcpBase Class : Data Event




Raised when the Marshal method is called by the user.

Syntax

Visual Basic (Declaration) 
Public Event Data As DataEventHandler
Visual Basic (Usage)Copy Code
Dim instance As TcpBase
Dim handler As DataEventHandler
 
AddHandler instance.Data, handler
C# 
public event DataEventHandler Data
Managed Extensions for C++ 
public: __event DataEventHandler* Data
C++/CLI 
public:
event DataEventHandler^ Data

Remarks

This event is always raised on the UI thread so that data can be used with UI components.

See SynchronizingObject for important information on updating UI controls from within this event.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.