Visual Basic (Declaration) | |
---|---|
Public Event Error As ComponentErrorEventHandler |
Visual Basic (Usage) | ![]() |
---|---|
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 |
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.
Target Platforms: Microsoft .NET Framework 2.0