AsyncJob Members
The AsyncJob type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
AsyncJob(Type, Boolean, Boolean, String) |
Initializes a new instance of the AsyncJob class.
|
Methods
| Name | Description | |
|---|---|---|
|
|
Execute |
Executes the async job by creating the job instance, registering it with the hosting environment, and running it.
If StopOnError is true and an exception occurs, the job is disabled.
|
|
|
Stop |
Stops the async job by disabling it and forwarding the stop request to the underlying job instance.
|
Properties
| Name | Description | |
|---|---|---|
|
|
AsyncJobType |
A value indicating type of the task
|
|
|
Enabled |
A value indicating whether the task is enabled
|
|
|
IsRunning |
A value indicating whether a task is running
|
|
|
LastEnd |
Datetime of the last end
|
|
|
LastStarted |
Datetime of the last start
|
|
|
LastSuccess |
Datetime of the last success
|
|
|
Name |
Get the task name
|
|
|
StopOnError |
A value indicating whether to stop task on error
|

