JobExecutionContext MembersQuartz.NET API Documentation

The JobExecutionContext type exposes the following members.

Constructors

  NameDescription
Public methodJobExecutionContext
Create a JobExcecutionContext with the given context data.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet
Get the value with the given key from the context's data map.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIncrementRefireCount
Increments the refire count.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPut
Put the specified value into the context's data map with the given key. Possibly useful for sharing data between listeners and jobs.

NOTE: this data is volatile - it is lost after the job execution completes, and all TriggerListeners and JobListeners have been notified.

Public methodToString
Returns a String that represents the current Object.
(Overrides Object ToString .)
Top
Properties

  NameDescription
Public propertyCalendar
Get a handle to the ICalendar referenced by the Trigger instance that fired the IJob.
Public propertyFireTimeUtc
The actual time the trigger fired. For instance the scheduled time may have been 10:00:00 but the actual fire time may have been 10:00:03 if the scheduler was too busy.
Public propertyJobDetail
Get the JobDetail associated with the IJob.
Public propertyJobInstance
Get the instance of the IJob that was created for this execution.

Note: The Job instance is not available through remote scheduler interfaces.

Public propertyJobRunTime
The amount of time the job ran for. The returned value will be MinValue until the job has actually completed (or thrown an exception), and is therefore generally only useful to IJobListeners and ITriggerListeners.
Public propertyMergedJobDataMap
Get the convenience JobDataMap of this execution context.
Public propertyNextFireTimeUtc
Gets the next fire time.
Public propertyPreviousFireTimeUtc
Gets the previous fire time.
Public propertyRecovering
If the IJob is being re-executed because of a 'recovery' situation, this method will return  .
Public propertyRefireCount
Gets the refire count.
Public propertyResult
Returns the result (if any) that the IJob set before its execution completed (the type of object set as the result is entirely up to the particular job).
Public propertyScheduledFireTimeUtc
The scheduled time the trigger fired for. For instance the scheduled time may have been 10:00:00 but the actual fire time may have been 10:00:03 if the scheduler was too busy.
Public propertyScheduler
Get a handle to the IScheduler instance that fired the IJob.
Public propertyTrigger
Get a handle to the Trigger instance that fired the IJob.
Top
See Also