UtilUIAutomationPauseThread(ProcessThread) Method
Pauses the execution of the specified thread.
Namespace: DevCase.Core.Diagnostics.ProcessesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static SafeAccessTokenHandle PauseThread(
ProcessThread thread
)
Public Shared Function PauseThread (
thread As ProcessThread
) As SafeAccessTokenHandle
Dim thread As ProcessThread
Dim returnValue As SafeAccessTokenHandle
returnValue = UtilUIAutomation.PauseThread(thread)
public:
static SafeAccessTokenHandle^ PauseThread(
ProcessThread^ thread
)
static member PauseThread :
thread : ProcessThread -> SafeAccessTokenHandle
No code example is currently available or this language may not be supported.
- thread ProcessThread
-
The thread.
SafeAccessTokenHandle
The return value is an openthread-handle to the thread handle.
An openthread-handle could be used to suspend, resume or terminate a thread that the open-handle refers to.
This is a code example.
No code example is currently available or this language may not be supported.
Dim thread As ProcessThread = Process.GetProcessesByName("cmd.exe").FirstOrDefault.Threads(0)
Dim safeOpenThreadHandle As SafeAccessTokenHandle = PauseThread(thread)
' ResumeThread(openThreadHandle)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.