This documentation is archived and is not being maintained.
ManagementEventWatcher.EventArrived Event
.NET Framework 1.1
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:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
ManagementEventWatcher Class | ManagementEventWatcher Members | System.Management Namespace
Show: