Represents an absolute or relative time.

Namespace:  Quanser.Common
Assembly:  Quanser.Common (in Quanser.Common.dll)

Syntax

Visual Basic (Declaration)
Public Class Timeout
C#
public class Timeout
Visual C++
public ref class Timeout
JavaScript
Quanser.Common.Timeout = function();

Type.createClass(
	'Quanser.Common.Timeout');

Remarks

The Timeout class represents an absolute time or a relative time interval down to nanosecond resolution. It is used throughout the Quanser .NET Class Library for methods that require a timeout.

Because the Timeout class contains a flag denoting whether the time is absolute or relative, methods using this class do not require any extra arguments to differentiate between absolute and relative timeouts. The timeout is considered relative by default since that is the most common usage.

Inheritance Hierarchy

System..::.Object
  Quanser.Common..::.Timeout

See Also