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

Header: ClrData.idl

Library: CorGuids.lib

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

See Also

Reference

ICLRDataTarget Interface