แก้ไข

แชร์ผ่าน


ICorProfilerCallback2::ThreadNameChanged Method

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

Syntax

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 System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also