ISchedulerService

Name Value
Assembly Catel.Core
Namespace Catel.Services
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public interface ISchedulerService

Service that allows scheduling of actions in the future.

Methods

Schedule(Action action, DateTime dateTime)

Schedules the specified action in an absolute.

Parameters

Name Description
action The action.
dateTime The date time.

Exceptions

Name Description
ArgumentNullException The action isnull.
ArgumentOutOfRangeException The dateTime is in the past.

Schedule(Action action, TimeSpan timeSpan)

Schedules the specified action in a relative.

Parameters

Name Description
action The action.
timeSpan The time span.

Exceptions

Name Description
ArgumentNullException The action isnull.
ArgumentOutOfRangeException The timeSpan is in the past.

Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion