C# Class WebApplications.Utilities.Scheduling.ScheduledFunctionResult

The result of a scheduled action.
Show file Open project: webappsuk/CoreLibraries

Public Properties

Property Type Description
Due System.DateTime
Duration System.TimeSpan
Exception System.Exception
Result object
Started DateTime

Protected Methods

Method Description
ScheduledFunctionResult ( DateTime due, DateTime started, TimeSpan duration, object result, Exception exception ) : System

Initializes a new instance of the ScheduledFunctionResult class.

Method Details

ScheduledFunctionResult() protected method

Initializes a new instance of the ScheduledFunctionResult class.
protected ScheduledFunctionResult ( DateTime due, DateTime started, TimeSpan duration, object result, Exception exception ) : System
due DateTime The execution due.
started DateTime The execution started.
duration TimeSpan The execution duration.
result object The result.
exception Exception The exception.
return System

Property Details

Due public property

When the execution was due.
public DateTime,System Due
return System.DateTime

Duration public property

When the execution duration.
public TimeSpan,System Duration
return System.TimeSpan

Exception public property

Any exception that was thrown by the function.
public Exception,System Exception
return System.Exception

Result public property

The result
public object Result
return object

Started public property

When the execution actually started.
public DateTime Started
return DateTime