Export (0) Print
Expand All

ManagementEventWatcher.EventArrived Event

Occurs when a new event arrives.

[Visual Basic]
Public Event EventArrived As EventArrivedEventHandler
[C#]
public event EventArrivedEventHandler EventArrived;
[C++]
public: __event EventArrivedEventHandler* EventArrived;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

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

Property Description
Context (inherited from ManagementEventArgs) Gets the operation context echoed back from the operation that triggered the event.
NewEvent Gets the WMI event that was delivered.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

ManagementEventWatcher Class | ManagementEventWatcher Members | System.Management Namespace

Show:
© 2014 Microsoft