共用方式為


ICorConfiguration::AddDebuggerSpecialThread Method

Indicates to the debugging services that a particular thread should be allowed to continue executing while the debugger has an application stopped during managed or unmanaged debugging scenarios.

HRESULT AddDebuggerSpecialThread (
        [in] DWORD dwSpecialThreadId
);

Parameters

  • dwSpecialThreadId
    [in] The ID of the thread that should be allowed to continue executing.

Remarks

The specified thread will not be allowed to run managed code or enter the runtime in any way. An example of such a thread would be an in-process thread to support legacy script debuggers.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

ICorConfiguration Interface