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
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: See .NET Framework System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0