Export (0) Print
Expand All

ISchedulerTask.FailJobOnFailure Property

Gets or sets whether the task is critical for the job. If a task is critical for the job, the job and its tasks stop running and the job is immediately marked as failed if the task fails.


Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)

'Usage
Dim instance As ISchedulerTask
Dim value As Boolean

value = instance.FailJobOnFailure

instance.FailJobOnFailure = value

bool FailJobOnFailure { get; set; }
/** @property */
boolean get_FailJobOnFailure ()

/** @property */
void set_FailJobOnFailure (boolean value)

function get FailJobOnFailure () : boolean

function set FailJobOnFailure (value : boolean)

Property Value

A Boolean that indicates whether the task is critical for the job. True indicates that the task is critical for the job, and that the job and its tasks stop running and the job is marked as failed if the task fails. False indicates that the task is not critical for the job, so that job continues to run the remaining tasks when the task that is not critical fails, and the job is marked as failed only when those remaining tasks finish.

If you specify a value for the FailJobOnFailureCount property, and do not specify a value for the FailJobOnFailure property, FailJobOnFailure is automatically set to True.

To specify that a job and its tasks should stop running and that job should be marked as failed when any of the tasks in the job fail, use the FailOnTaskFailure property for the job.

Platform Note: This property was introduced in Windows HPC Server 2008 R2 with Service Pack 1 (SP1) and is not supported in previous versions.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, with HPC Pack Client Utilities




Build Date:

2013-04-22

Community Additions

ADD
Show:
© 2015 Microsoft