ICorDebugThread::GetUserState Method

Gets the current user state of this ICorDebugThread.

Syntax

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

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0