PowerTCP Sockets for .NET
Data Event (TcpBase)




Raised when Marshal(Data,String,Object) is used.
Syntax
'Declaration
 
Public Event Data As EventHandler(Of DataEventArgs)
'Usage
 
Dim instance As TcpBase
Dim handler As EventHandler(Of DataEventArgs)
 
AddHandler instance.Data, handler
public event EventHandler<DataEventArgs> Data
public: __event EventHandler<DataEventArgs*>* Data
public:
event EventHandler<DataEventArgs^>^ Data
Event Data

The event handler receives an argument of type DataEventArgs containing data related to this event. The following DataEventArgs properties provide information specific to this event.

PropertyDescription
Data Gets data provided by Data and Log events.  
Message Returns the message argument provided by the Marshal method. (Inherited from Dart.Sockets.UserStateEventArgs)
UserState Returns the user state argument provided by the Marshal method. (Inherited from Dart.Sockets.UserStateEventArgs)
Remarks
See the SynchronizingObject property for information on updating UI controls in your event handler.
See Also

Reference

TcpBase Class
TcpBase Members


PowerTCP Sockets for .NET Documentation Version 4.5
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic