UtilProcessSleepThread(Int32, 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(
	int threadId,
	TimeSpan timeout
)

Parameters

threadId  Int32
The thread identifier.
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