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.

Syntax

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

Header: ClrData.idl, ClrData.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also