UtilUIAutomationPauseThread(Int32) 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(
int threadId
)
Public Shared Function PauseThread (
threadId As Integer
) As SafeAccessTokenHandle
Dim threadId As Integer
Dim returnValue As SafeAccessTokenHandle
returnValue = UtilUIAutomation.PauseThread(threadId)
public:
static SafeAccessTokenHandle^ PauseThread(
int threadId
)
static member PauseThread :
threadId : int -> SafeAccessTokenHandle
No code example is currently available or this language may not be supported.
- threadId Int32
-
The thread identifier.
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 threadId As ProcessThread = Process.GetProcessesByName("cmd.exe").FirstOrDefault.Threads(0).Id
Dim openThreadHandle As SafeAccessTokenHandle = PauseThread(threadId)
' 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.