Share via


ICorDebugThread::GetUserState Method

Gets the current user state of this ICorDebugThread.

HRESULT GetUserState (
    [out] CorDebugUserState   *pState
);

Parameters

  • pState
    [out] A pointer to a bitwise combination of CorDebugUserState enumeration values that describe the current user state of this thread.

Remarks

The user state of the thread is the state of the thread when it is examined by the program that is being debugged. A thread may have multiple state bits set.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

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

See Also

Reference

ICorDebugThread Interface

ICorDebugThread2 Interface