ManagementEventWatcher.EventArrived Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Event EventArrived As EventArrivedEventHandler
Public Custom 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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour