PowerTCP Emulation for .NET CF
Error Event
See Also  Send comments on this topic.
Dart.Common Namespace > ComponentBase Class : Error Event




Raised when Marshal is called by the user or an unhandled Exception is thrown in a worker thread created using the Start method.

Syntax

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

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.