UtilUIAutomationExitThread(SafeAccessTokenHandle, UInt32) Method
Terminates 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 void ExitThread(
SafeAccessTokenHandle safeOpenThreadHandle,
uint exitCode = 0
)
Public Shared Sub ExitThread (
safeOpenThreadHandle As SafeAccessTokenHandle,
Optional exitCode As UInteger = 0
)
Dim safeOpenThreadHandle As SafeAccessTokenHandle
Dim exitCode As UInteger
UtilUIAutomation.ExitThread(safeOpenThreadHandle,
exitCode)
public:
static void ExitThread(
SafeAccessTokenHandle^ safeOpenThreadHandle,
unsigned int exitCode = 0
)
static member ExitThread :
safeOpenThreadHandle : SafeAccessTokenHandle *
?exitCode : uint32
(* Defaults:
let _exitCode = defaultArg exitCode 0
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- safeOpenThreadHandle SafeAccessTokenHandle
-
An open thread handle.
This handle can be obtained calling the PauseThread(ProcessThread) function
(or the unmanaged OpenThread(ThreadAccessRights, Boolean, UInt32) function).
- exitCode UInt32 (Optional)
-
The desired exit code for the thread.