November Happy Hour will be moved to Thursday December 5th.

Class JobExecutionOptions

Options on how IScheduledJobExecutor should execute a job.

Inheritance
System.Object
JobExecutionOptions
Namespace: EPiServer.Scheduler
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class JobExecutionOptions : Object

Constructors

JobExecutionOptions()

Declaration
public JobExecutionOptions()

Properties

ContentCacheSlidingExpiration

The sliding cache for how long content is cached when executed. Set to "0:0:0" to disable.

Declaration
public Nullable<TimeSpan> ContentCacheSlidingExpiration { get; set; }
Property Value
Type Description
System.Nullable<System.TimeSpan>

RunSynchronously

Gets or sets a value indicating if the job should be executed synchronously.

Declaration
public bool RunSynchronously { get; set; }
Property Value
Type Description
System.Boolean

Trigger

Get or sets a value that indicates how the job was triggered

Declaration
public ScheduledJobTrigger Trigger { get; set; }
Property Value
Type Description
ScheduledJobTrigger

Extension Methods