Share via


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.

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 .NET Framework System Requirements.

Header: ClrData.idl, ClrData.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICLRDataTarget Interface