IDkmThreadSuspension.GetSuspensionCount(DkmThread, Boolean) Method

Definition

Return the current suspension count of this thread.

public:
 System::UInt32 GetSuspensionCount(Microsoft::VisualStudio::Debugger::DkmThread ^ thread, bool showInternal);
public uint GetSuspensionCount (Microsoft.VisualStudio.Debugger.DkmThread thread, bool showInternal);
abstract member GetSuspensionCount : Microsoft.VisualStudio.Debugger.DkmThread * bool -> uint32
Public Function GetSuspensionCount (thread As DkmThread, showInternal As Boolean) As UInteger

Parameters

thread
DkmThread

[In] DkmThread represents a thread running in the target process.

showInternal
Boolean

[In] Pass true to return the true suspension count for the thread. Return false to only see the suspensions that occurred in the debuggee process or the one's that passed true for InternalSuspension to Suspend.

Returns

[Out] The suspension count of thread. The internal thread suspension count is subtracted from this value if ShowInternal is false.

Applies to