Scheduler.Schedule Method (IScheduler, Action<Action<DateTimeOffset>>, DateTimeOffset)

March 22, 2012

Schedules action to be executed recursively at each specified time interval dueTime.

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

public static IDisposable Schedule(
	this IScheduler scheduler,
	Action<Action<DateTimeOffset>> action,
	DateTimeOffset dueTime

Return Value

Type: System.IDisposable
Returns IDisposable.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IScheduler. When you use instance method syntax to call this method, omit the first parameter.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone