ManagementEventWatcher.EventArrived Evento

Definición

Se produce cuando llega un nuevo evento.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 

Tipo de evento

EventArrivedEventHandler

Comentarios

Datos del eventoEvent Data

El controlador de eventos recibe un argumento de tipo EventArrivedEventArgs que contiene datos relativos a este evento.The event handler receives an argument of type EventArrivedEventArgs containing data related to this event. Las EventArrivedEventArgs propiedades siguientes proporcionan información específica de este evento.The following EventArrivedEventArgs properties provide information specific to this event.

Propiedad.Property DescripciónDescription
Context (se hereda de ManagementEventArgs )Context (inherited from ManagementEventArgs) Obtiene el contexto de operación devuelto desde la operación que desencadenó el evento.Gets the operation context echoed back from the operation that triggered the event.
NewEvent Obtiene el evento WMI que se entrega.Gets the WMI event that was delivered.

Seguridad de .NET Framework.NET Framework Security

Plena confianza para el llamador inmediato.Full trust for the immediate caller. Un código de confianza parcial no puede utilizar este miembro.This member cannot be used by partially trusted code. Para obtener más información, vea usar bibliotecas desde código de confianza parcial.For more information, see Using Libraries from Partially Trusted Code.

Se aplica a