ICLRDataTarget::GetTLSValue Method

Gets a value from the thread local storage (TLS) of the specified thread in the target process. This method is called by the common language runtime (CLR) data access services.

Syntax

HRESULT GetTLSValue (
    [in] ULONG32            threadID,
    [in] ULONG32            index,
    [out] CLRDATA_ADDRESS   *value
);

Parameters

threadID [in] The operating system identifier of a thread in the target process.

index [in] The index of the location. This value must be a valid index in the local store of the specified thread.

value [out] A pointer to a CLRDATA_ADDRESS value that specifies the value returned from the given TLS location.

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 2.0

See also