DkmThread.Suspend(Boolean) Method

Definition

Suspend this thread.

public:
 System::UInt32 Suspend(bool InternalSuspension);
public:
 unsigned int Suspend(bool InternalSuspension);
unsigned int Suspend(bool InternalSuspension);
public uint Suspend (bool InternalSuspension);
member this.Suspend : bool -> uint32
Public Function Suspend (InternalSuspension As Boolean) As UInteger

Parameters

InternalSuspension
Boolean

[In] Pass true if this suspension should be hidden in calls to GetSuspensionCount. This is useful for internal suspensions that should not be reported to the user such as thread slippage suspensions.

Returns

[Out,Optional] The previous number of suspensions for this thread minus the ones internal to the debugger.

Applies to