ClusterJobSchedulerCancelJob Method

Cancels the job with the specified id.
Namespace:  AGI.Parallel.Client
Assembly:  AGI.Parallel.Client (in AGI.Parallel.Client.dll) Version: 1.4.0.476 (1.4.0.476)
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
Exception Condition
JobSchedulerException Thrown if client is not connected to the job scheduler yet.
See Also

STK Scalability 1.4 API for .NET