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

Class JobExecutionResult

Hold information on the result of a call to StartAsync(ScheduledJob, JobExecutionOptions, CancellationToken)

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

Constructors

JobExecutionResult(ScheduledJobExecutionStatus, String)

Initializes a new instance of the JobExecutionResult class.

Declaration
public JobExecutionResult(ScheduledJobExecutionStatus status, string message)
Parameters
Type Name Description
ScheduledJobExecutionStatus status
System.String message

JobExecutionResult(ScheduledJobExecutionStatus, String, Nullable<DateTime>)

Initializes a new instance of the JobExecutionResult class.

Declaration
public JobExecutionResult(ScheduledJobExecutionStatus status, string message, Nullable<DateTime> nextExecutionUTC)
Parameters
Type Name Description
ScheduledJobExecutionStatus status
System.String message
System.Nullable<System.DateTime> nextExecutionUTC

Properties

Message

Gets a message describing the outcome of the last execution

Declaration
public string Message { get; }
Property Value
Type Description
System.String

NextExecutionUTC

Gets the value for next scheduled execution, if any

Declaration
public Nullable<DateTime> NextExecutionUTC { get; }
Property Value
Type Description
System.Nullable<System.DateTime>

Status

Gets the status of the last execution

Declaration
public ScheduledJobExecutionStatus Status { get; }
Property Value
Type Description
ScheduledJobExecutionStatus

Extension Methods