Visual Basic (Declaration) | |
---|---|
Public Event StatusChange() As EventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public event EventHandler StatusChange() |
Managed Extensions for C++ | |
---|---|
public: __event EventHandler* StatusChange(); |
C++/CLI | |
---|---|
public: event EventHandler^ StatusChange(); |
For an example refer to ServiceAdministrator.InstallService
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family