Export (0) Print
Expand All

Observable::Timer Method (TimeSpan, TimeSpan)

Returns an observable sequence that produces a value after due time has elapsed and then after each period.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

public:
static IObservable<long long>^ Timer(
	TimeSpan dueTime, 
	TimeSpan period
)

Parameters

dueTime
Type: System::TimeSpan
The relative time at which to produce the first value.
period
Type: System::TimeSpan
The period to produce subsequent values.

Return Value

Type: System::IObservable<Int64>
An observable sequence that produces a value after due time has elapsed and then after each period.
Show:
© 2014 Microsoft