ClusterJobSchedulerSubmitJob Method |
Submits job to the job scheduler so the job scheduler can add the job to its queue.
Namespace:
AGI.Parallel.Client
Assembly:
AGI.Parallel.Client (in AGI.Parallel.Client.dll) Version: 2.9.0.1601 (2.9.0.1601)
Syntax public void SubmitJob(
Job job,
Action<Task> taskCompletedCallback,
Action<TaskStatus, TaskStatus, Task, TaskState> taskStateChangedCallback,
Action<JobState> jobSubmittedCallback,
Action jobCompletedCallback,
Action<Task, TaskProgressInformation> taskProgressCallback
)
Public Sub SubmitJob (
job As Job,
taskCompletedCallback As Action(Of Task),
taskStateChangedCallback As Action(Of TaskStatus, TaskStatus, Task, TaskState),
jobSubmittedCallback As Action(Of JobState),
jobCompletedCallback As Action,
taskProgressCallback As Action(Of Task, TaskProgressInformation)
)
Parameters
- job
- Type: AGI.Parallel.ClientJob
The job to be submitted. - taskCompletedCallback
- Type: SystemActionTask
The task completed callback. - taskStateChangedCallback
- Type: SystemActionTaskStatus, TaskStatus, Task, TaskState
The task state changed callback. - jobSubmittedCallback
- Type: SystemActionJobState
The job submitted callback. - jobCompletedCallback
- Type: SystemAction
The job completed callback. - taskProgressCallback
- Type: SystemActionTask, TaskProgressInformation
The task progress callback.
Implements
IJobSchedulerSubmitJob(Job, ActionTask, ActionTaskStatus, TaskStatus, Task, TaskState, ActionJobState, Action, ActionTask, TaskProgressInformation)Exceptions See Also