Initializes a new instance of the Timeout class as a relative timeout given
the number of seconds and nanoseconds.
Namespace:
Quanser.Common
Assembly:
Quanser.Common (in Quanser.Common.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _
seconds As Long, _
nanoseconds As Integer _
) |
C# |
---|
public Timeout(
long seconds,
int nanoseconds
) |
Visual C++ |
---|
public:
Timeout(
long long seconds,
int nanoseconds
) |
JavaScript |
---|
Quanser.Common.Timeout = function(seconds, nanoseconds); |
Parameters
- seconds
- Type: System..::.Int64
The number of seconds. This parameter may be negative. If it is negative then the
nanoseconds parameter should also be negative.
- nanoseconds
- Type: System..::.Int32
The number of nanoseconds. This parameter may be negative. If it is negative then the
seconds parameter should also be negative. The magnitude of the number
of nanoseconds must lie between 0 and 999999999.
Remarks
See Also