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
taskTask- 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
taskTask- Task instance.
 tokenCancellationToken
Returns
- Job
 - A new job for the given scheduling task.