共用方式為


IDebugEngineCreateEvent2

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The debug engine (DE) sends this interface to the session debug manager (SDM) when an instance of the DE is created.

Syntax

IDebugEngineCreateEvent2 : IUnknown

Notes for Implementers

The DE implements this interface as part of its normal operations. The IDebugEvent2 interface must be implemented on the same object as this interface (the SDM uses the QueryInterface method to access the IDebugEvent2 interface).

Notes for Callers

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

Methods in Vtable Order

The following table shows the methods of IDebugEngineCreateEvent2.

Method Description
GetEngine Retrieves the object that represents the newly created debug engine (DE).

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also