Class JobFactory
- Namespace
- Dynamicweb.Scheduling
- Assembly
- Dynamicweb.Scheduling.dll
Represents a factory for creating different types of scheduled task jobs.
public sealed class JobFactory
- Inheritance
-
JobFactory
- Inherited Members
Methods
GetJob(Task)
Returns a job for the given scheduled task.
public static Job GetJob(Task task)
Parameters
task
Task- Task instance.
Returns
- Job
- A new job for the given scheduling task.
GetJob(Task, CancellationToken)
Returns a job for the given scheduled task.
public static Job GetJob(Task task, CancellationToken token)
Parameters
task
Task- Task instance.
token
CancellationToken
Returns
- Job
- A new job for the given scheduling task.