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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET