UtilProcessSleepThread(IntPtr, TimeSpan) Method
Suspends the specified thread for the given amount of time.
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 SleepThread(
IntPtr hTread,
TimeSpan timeout
)
Public Shared Sub SleepThread (
hTread As IntPtr,
timeout As TimeSpan
)
Dim hTread As IntPtr
Dim timeout As TimeSpan
UtilProcess.SleepThread(hTread, timeout)
public:
static void SleepThread(
IntPtr hTread,
TimeSpan timeout
)
static member SleepThread :
hTread : IntPtr *
timeout : TimeSpan -> unit
No code example is currently available or this language may not be supported.
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.