Rediger

ISOSDacInterface::GetTLSIndex Method

Retrieves the thread-local storage index used by the runtime.

Note

This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.

Syntax

HRESULT GetTLSIndex(unsigned long *pIndex);

Parameters

pIndex
[out] A pointer to the thread-local storage index used by the runtime.

Remarks

The provided method is part of the ISOSDacInterface interface and corresponds to the 73rd slot of the virtual method table.

Requirements

Platforms: See System Requirements.
Header: None
Library: None
.NET Framework Versions: Available since 4.7

See also