The Job type exposes the following members.

Methods

  Name Description
Public method AddTask
Adds a task to Job.
Public method Cancel()()()()
Cancels all tasks in this job. Will not listen for cancellation events.
Public method Cancel(Boolean)
Cancels all tasks in this job.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Submit
Submits job to job scheduler.
Public method ToString (Inherited from Object.)
Public method WaitUntilDone()()()()
Blocks until all tasks in this job complete.
Public method WaitUntilDone(Int32)
Blocks until all tasks in this job complete or the operation times out.
Public method WaitUntilDone(Int32, Action, Int32)
Blocks until all tasks in this job complete or the operation times out. The callback passed in for the heartbeat is called with the period specified by the millisecondsHeartbeat argument.

See Also