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
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Scheduler
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class JobExecutionResult

Constructors

JobExecutionResult(ScheduledJobExecutionStatus, String)

Initializes a new instance of the JobExecutionResult class.

Declaration
[Obsolete("Use alternative constructor")]
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, 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 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