Click or drag to resize

CrestronEnvironmentSleep Method

Function to sleep for the specified time

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static void Sleep(
	int timeoutInMs
)

Parameters

timeoutInMs  Int32
Timeout in milli seconds
Exceptions
ExceptionCondition
ArgumentOutOfRangeException The time-out value is negative and is not equal to Timeout.Infinite

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also