ICLRDataTarget3::GetExceptionThreadID Method
Called by the common language runtime (CLR) data access services to get the ID of the thread that threw the exception.
Syntax
HRESULT GetExceptionThreadID(
[out] ULONG32* threadID
);
Parameters
threadID
[out] The ID of the thread that threw the exception.
Return Value
The return value is S_OK
on success, or a failure HRESULT
code on failure. The HRESULT
codes can include but are not limited to the following:
Return code | Description |
---|---|
S_OK |
Method succeeded. |
HRESULT_FROM_WIN32(ERROR_NOT_FOUND) |
Could not find a valid thread ID for the exception. |
Remarks
This method is implemented by the writer of the debugging application.
Requirements
Platforms: See System Requirements.
Header: ClrData.idl, ClrData.h
Library: CorGuids.lib
.NET Framework Versions: Available since November 2013 update to 4.5.1
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.