Click or drag to resize

JobCancelOnClientDisconnection Property

Gets or sets a value indicating whether to cancel the tasks of this Job when the client disconnects.

Namespace:  AGI.Parallel.Client
Assembly:  AGI.Parallel.Client (in AGI.Parallel.Client.dll) Version: 2.9.0.1601 (2.9.0.1601)
Syntax
public bool CancelOnClientDisconnection { get; set; }

Property Value

Type: Boolean
true if task should be canceled when the client disconnects. false otherwise.

Implements

IJobCancelOnClientDisconnection
Remarks
CancelOnClientDisconnection ensures that a task does not remain in the coordinator's task queue if the client is no longer connected. If a client disconnects unexpectedly, all tasks in the job are canceled. This is useful for interactive jobs which only makes sense to run if the client is connected and is waiting to process the result of the task.
See Also

STK Parallel Computing Server 2.9 API for .NET