NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Timer Constructor (Double)

Initializes a new instance of the Timer class, setting the Interval property to the specified period.

[Visual Basic]
Overloads Public Sub New( _
   ByVal interval As Double _
)
[C#]
public Timer(
   double interval
);
[C++]
public: Timer(
   double interval
);
[JScript]
public function Timer(
   interval : double
);

Parameters

interval
The time in milliseconds between timer events.

Exceptions

Exception Type Condition
ArgumentException The interval is less than 0 milliseconds.

See Also

Timer Class | Timer Members | System.Timers Namespace | Timer Constructor Overload List