Share via


ICLRDataTarget::SetTLSValue Method

Sets a value in 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 SetTLSValue (
    [in] ULONG32            threadID,
    [in] ULONG32            index,
    [in] 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
    [in] A CLRDATA_ADDRESS value that specifies the value to place in the given TLS location.

Remarks

This method is implemented by the writer of the debugging application.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: ClrData.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

ICLRDataTarget Interface