Click or drag to resize

ClusterJobSchedulerCancelJob Method

Cancels the job with the specified id.

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

Parameters

jobId
Type: SystemGuid
The id of the job to cancel.
listenForCancellationEvent
Type: SystemBoolean
if set to true, client will listen for the cancellation event. Otherwise, cancellation events can be ignored.

Implements

IJobSchedulerCancelJob(Guid, Boolean)
Exceptions
ExceptionCondition
JobSchedulerExceptionThrown if client is not connected to the job scheduler yet.
See Also

STK Parallel Computing Server 2.9 API for .NET