Observable.Timer Method (TimeSpan, IScheduler)
Namespace: Microsoft.Phone.Reactive
Assembly: Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)
Syntax
'Declaration
Public Shared Function Timer ( _
dueTime As TimeSpan, _
scheduler As IScheduler _
) As IObservable(Of Long)
public static IObservable<long> Timer(
TimeSpan dueTime,
IScheduler scheduler
)
public:
static IObservable<long long>^ Timer(
TimeSpan dueTime,
IScheduler^ scheduler
)
static member Timer :
dueTime:TimeSpan *
scheduler:IScheduler -> IObservable<int64>
Parameters
- dueTime
Type: System.TimeSpan
- scheduler
Type: Microsoft.Phone.Reactive.IScheduler
Return Value
Type: System.IObservable<Int64>
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.