Partager via


ICorProfilerCallback2::ThreadNameChanged Method

Notifies the code profiler that the name of a thread has changed.

HRESULT ThreadNameChanged(
    [in] ThreadID threadId,
    [in] ULONG cchName,
    [in] WCHAR name[]);

Parameters

Parameter Description

threadId

[in] The ID of the thread.

cchName

[in] The length of the new name of the thread.

name

[in] The new name of the thread. The name is not NULL terminated.

Requirements

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

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorProfilerCallback Interface
ICorProfilerCallback2 Interface