FailureReason Enumeration

Defines the reasons for why a job can fail.


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

'Usage
Dim instance As FailureReason

public enum FailureReason
public enum FailureReason
public enum FailureReason

Member nameDescription
ExecutionFailureA task in the job does not exist or could not start. This enumeration member represents a value of 1.
NoneThe job did not fail. This enumeration member represents a value of 0.
PreemptedThe job was preempted by a higher priority job. This enumeration member represents a value of 3.
ResourceFailureThe node failed. This enumeration member represents a value of 2.

To use this enumeration in Visual Basic Scripting Edition (VBScript), you need to use the numeric values for the enumeration members or create constants that correspond to those members and set them equal to the numeric values. The following code example shows how to create and set constants for this enumeration in VBScript.

const None = 0
const ExecutionFailure = 1
const ResourceFailure = 2
const Preempted = 3

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: