ManagementEventWatcher.EventArrived Event

 

Occurs when a new event arrives.

Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

public event EventArrivedEventHandler EventArrived

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.

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.

.NET Framework
Available since 1.1
Return to top
Show: