Click or drag to resize

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)
Syntax
public void CancelJob(
	Guid jobId,
	bool listenForCancellationEvent
)

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
ExceptionCondition
JobSchedulerExceptionThrown if client is not connected to the job scheduler yet.
See Also

STK Parallel Computing Server 2.10 API for .NET