Class JobExecutionResult
Hold information on the result of a call to Start
Inheritance
System.Object
JobExecutionResult
Namespace: EPiServer.Scheduler
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class JobExecutionResult : Object
Constructors
JobExecutionResult(ScheduledJobExecutionStatus, String)
Initializes a new instance of the Job
Declaration
public JobExecutionResult(ScheduledJobExecutionStatus status, string message)
Parameters
Type | Name | Description |
---|---|---|
Scheduled |
status | |
System. |
message |
JobExecutionResult(ScheduledJobExecutionStatus, String, Nullable<DateTime>)
Initializes a new instance of the Job
Declaration
public JobExecutionResult(ScheduledJobExecutionStatus status, string message, Nullable<DateTime> nextExecutionUTC)
Parameters
Type | Name | Description |
---|---|---|
Scheduled |
status | |
System. |
message | |
System. |
nextExecutionUTC |
Properties
Message
Gets a message describing the outcome of the last execution
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System. |
NextExecutionUTC
Gets the value for next scheduled execution, if any
Declaration
public Nullable<DateTime> NextExecutionUTC { get; }
Property Value
Type | Description |
---|---|
System. |
Status
Gets the status of the last execution
Declaration
public ScheduledJobExecutionStatus Status { get; }
Property Value
Type | Description |
---|---|
Scheduled |