다음을 통해 공유


IDebugPropertyDestroyEvent2

This interface is sent by the debug engine (DE) to the session debug manager (SDM) when a property that is associated with a specific document is about to be destroyed.

IDebugPropertyDestroyEvent2 : IUnknown

Notes for Implementers

The DE implements this interface to report that a property has been destroyed. The IDebugEvent2 interface must be implemented on the same object as this interface. The SDM uses QueryInterface to access the IDebugEvent2 interface. This interface is implemented if the DE has previously created a property associated with a script; destroying the property removes the associated script from the IDE.

Notes for Callers

The DE creates and sends this event object to report a property has been destroyed. The event is sent by using the IDebugEventCallback2 callback function that is supplied by the SDM when it is attached to the program being debugged.

Methods in Vtable Order

The following table shows the method of IDebugPropertyDestroyEvent2.

Method

Description

IDebugPropertyDestroyEvent2::GetDebugProperty

Gets the property to be destroyed.

Remarks

See the Remarks for IDebugPropertyCreateEvent2 for details on why these events are used.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugEvent2

IDebugEventCallback2

IDebugProperty2

IDebugPropertyCreateEvent2

Concepts

Core Interfaces