Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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