ISchedulerTask.FailJobOnFailureCount Property

Gets or sets the number of subtasks of a critical parametric sweep or service task that must fail before the job and its tasks and subtask should stop running and the task and job should be marked as failed.


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

'Usage
Dim instance As ISchedulerTask
Dim value As Integer

value = instance.FailJobOnFailureCount

instance.FailJobOnFailureCount = value

int FailJobOnFailureCount { get; set; }
/** @property */
int get_FailJobOnFailureCount ()

/** @property */
void set_FailJobOnFailureCount (int value)

function get FailJobOnFailureCount () : int

function set FailJobOnFailureCount (value : int)

Property Value

A Int32 that indicates the number of subtasks of a critical parametric sweep or service task that must fail before the job and its tasks and subtask should stop running and the task and job should be marked as failed.

You can specify a value from 1 through 1,000,000. If you specify more subtasks than the critical task contains, the job and its tasks and subtasks run to completion no matter how many subtasks fail.

If you specify a value greater than 1 for the FailJobOnFailureCount property for a task that is not a parametric sweep or service task, an error occurs.

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

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
Show: