ClusterJobScheduler.CancelJob Method |
Cancels the job with the specified id.
Namespace:
AGI.Parallel.Client
Assembly:
AGI.Parallel.Client (in AGI.Parallel.Client.dll) Version: 2.10.0.1777 (2.10.0.1777)
Syntaxpublic void CancelJob(
Guid jobId,
bool listenForCancellationEvent
)
Public Sub CancelJob (
jobId As Guid,
listenForCancellationEvent As Boolean
)
Parameters
- jobId
- Type: System.Guid
The id of the job to cancel. - listenForCancellationEvent
- Type: System.Boolean
if set to true, client will listen for the cancellation event. Otherwise, cancellation events can be ignored.
Implements
IJobScheduler.CancelJob(Guid, Boolean)
Exceptions
See Also