CreateThread Method

ICorDebugManagedCallback::CreateThread Method


Notifies the debugger that a thread has started executing managed code.

HRESULT CreateThread (
    [in] ICorDebugAppDomain *pAppDomain,
    [in] ICorDebugThread    *thread


[in] A pointer to an ICorDebugAppDomain Interface object that represents the application domain that contains the thread.


[in] A pointer to an ICorDebugThread Interface object that represents the thread.

The thread will be positioned at the first managed code instruction to be executed.


Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4.6, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

© 2015 Microsoft