ManagementOperationObserver.ObjectPut 事件


成功提交对象后发生。Occurs when an object has been successfully committed.

 event System::Management::ObjectPutEventHandler ^ ObjectPut;
public event System.Management.ObjectPutEventHandler ObjectPut;
member this.ObjectPut : System.Management.ObjectPutEventHandler 
Public Event ObjectPut As ObjectPutEventHandler 


事件数据Event Data

事件处理程序接收 ObjectPutEventArgs 类型的参数,该参数包含与此事件相关的数据。The event handler receives an argument of type ObjectPutEventArgs containing data related to this event. 以下 ObjectPutEventArgs 属性提供特定于此事件的信息。The following ObjectPutEventArgs properties provide information specific to this event.

属性Property 说明Description
Context (继承自 ManagementEventArgsContext (inherited from ManagementEventArgs) 获取从触发事件的操作反射回的操作上下文。Gets the operation context echoed back from the operation that triggered the event.
Path 获取已放置对象的标识。Gets the identity of the object that has been put.

.NET Framework 安全性.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.