Επεξεργασία

Κοινή χρήση μέσω


ManagementEventWatcher.EventArrived Event

Definition

Occurs when a new event arrives.

public:
 event System::Management::EventArrivedEventHandler ^ EventArrived;
public event System.Management.EventArrivedEventHandler EventArrived;
member this.EventArrived : System.Management.EventArrivedEventHandler 
Public Custom Event EventArrived As EventArrivedEventHandler 
Public Event EventArrived As EventArrivedEventHandler 

Event Type

Remarks

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.

.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.

Applies to