ManagementOperationObserver::ObjectReady Event
Occurs when a new object is available.
Assembly: System.Management (in System.Management.dll)
Event Data
The event handler receives an argument of type ObjectReadyEventArgs containing data related to this event. The following ObjectReadyEventArgs 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 newly-returned object. |
.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.
The following example demonstrates how to perform an asynchronous instance enumeration. The example uses the ManagementOperationObserver class to handle management information and events asynchronously.
- 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.