Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Gets a value that indicates whether the specified thread has been suspended as a result of the debugger stopping this process.
Syntax
HRESULT IsOSSuspended(
[in] DWORD threadID,
[out] BOOL *pbSuspended);
Parameters
threadID
[in] The ID of thread in question.
pbSuspended
[out] A pointer to a Boolean value that is true if the specified thread has been suspended; otherwise *pbSuspended is false.
Remarks
When the specified thread has been suspended as a result of the debugger stopping this process, the specified thread's Win32 suspend count is incremented by one. The debugger user interface (UI) may want to take this information into account if it displays the operating system (OS) suspend count of the thread to the user.
The IsOSSuspended method makes sense only in the context of unmanaged debugging. During managed debugging, threads are cooperatively suspended rather than OS-suspended.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 1.0