Share via


IScheduledJobSelector Interface

Definition

Provides an abstraction for selecting a scheduled job. An implementation can be registered via the System.Web.Http.Services.DependencyResolver.

public interface IScheduledJobSelector
type IScheduledJobSelector = interface
Public Interface IScheduledJobSelector
Derived

Methods

SelectJob(String)

Returns a collection of scheduled jobs matching a given jobName. If the collection is empty then no scheduled job was found. If more than one scheduled jobs were found then multiple conflicting scheduled jobs have been found. This can for example be if multiple jobs with the same type name but differing namespaces have been registered. If exactly one scheduled job is returned then that is the job that should be executed.

Applies to