共用方式為


IDebugThreadCreateEvent2

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

This interface is sent by the debug engine (DE) to the session debug manager (SDM) when a thread is created in a program being debugged.

Syntax

IDebugThreadCreateEvent2 : IUnknown

Notes for Implementers

The DE implements this interface to report that a thread has been created. The IDebugEvent2 interface must be implemented on the same object as this interface. The SDM uses QueryInterface to access the IDebugEvent2 interface.

Notes for Callers

The DE creates and sends this event object to report that a thread has been created. 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.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also