Note
ამ გვერდზე წვდომა ავტორიზაციას მოითხოვს. შეგიძლიათ სცადოთ შესვლა ან დირექტორიების შეცვლა.
ამ გვერდზე წვდომა ავტორიზაციას მოითხოვს. შეგიძლიათ სცადოთ დირექტორიების შეცვლა.
Gets the identifier of the task running on this thread.
Syntax
HRESULT GetTaskID (
[out] TASKID *pTaskId
);
Parameters
pTaskId
[out] A pointer to the identifier of the task running on the thread represented by this ICorDebugThread2 object.
Remarks
A task can only be running on the thread if the thread is associated with a connection. GetTaskID returns zero in pTaskId if the thread is not associated with a connection.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 2.0