ManagementOperationObserver::Completed Event
Occurs when an operation has completed.
Assembly: System.Management (in System.Management.dll)
The event handler receives an argument of type CompletedEventArgs containing data related to this event. The following CompletedEventArgs 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. |
Gets the completion status of the operation. | |
Gets or sets additional status information within a WMI object. This may be null. |
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.
The following example demonstrates how to perform an asynchronous instance enumeration. The example uses the ManagementOperationObserver class to handle management information and events asynchronously.
Available since 1.1