Share via


Observable.Timer Method (DateTimeOffset, TimeSpan, IScheduler)

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

Syntax

'Declaration
Public Shared Function Timer ( _
    dueTime As DateTimeOffset, _
    period As TimeSpan, _
    scheduler As IScheduler _
) As IObservable(Of Long)
public static IObservable<long> Timer(
    DateTimeOffset dueTime,
    TimeSpan period,
    IScheduler scheduler
)
public:
static IObservable<long long>^ Timer(
    DateTimeOffset dueTime, 
    TimeSpan period, 
    IScheduler^ scheduler
)
static member Timer : 
        dueTime:DateTimeOffset * 
        period:TimeSpan * 
        scheduler:IScheduler -> IObservable<int64> 

Parameters

Return Value

Type: System.IObservable<Int64>

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

.NET Framework Security

See Also

Reference

Observable Class

Timer Overload

Microsoft.Phone.Reactive Namespace