Observable.Timer Method (DateTimeOffset, TimeSpan)

March 22, 2012

Returns an observable sequence that produces a value at dueTime and then after each period.

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

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

Parameters

dueTime
Type: System.DateTimeOffset
period
Type: System.TimeSpan

Return Value

Type: System.IObservable<Int64>
Returns IObservable<T>.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Show: