UtilProcessSleepThread(IntPtr, TimeSpan) Method

Suspends the specified thread for the given amount of time.

Definition

Namespace: DevCase.Core.Diagnostics.Processes
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void SleepThread(
	IntPtr hTread,
	TimeSpan timeout
)

Parameters

hTread  IntPtr
A handle to the thread.
timeout  TimeSpan
The amount of time for which the thread is suspended.

If the value of the timeout argument is Zero, the thread relinquishes the remainder of its time slice to any thread of equal priority that is ready to run.

Exceptions

Win32Exception

See Also