Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Category Enumeration

Defines the category of errors into which the ErrorCode codes are grouped.


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

'Usage
Dim instance As Category

public enum Category
public enum Category
public enum Category

Member nameDescription
ExecutionErrorThe error occurred while executing the job or task. This enumeration member represents a value of 3.
OperationErrorAn error occurred while performing an operation (for example, the user tried to delete a job template but they do not have permissions to delete templates). This enumeration member represents a value of 0.
OtherIncludes errors related to starting service or broker jobs. This enumeration member represents a value of 4.
ResourceAssignmentErrorThe error occurred while assigning resources to the job or task. This enumeration member represents a value of 2.
ValidationErrorThe error occurred while validating the job or task before it ran. This enumeration member represents a value of 1.

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 OperationError = 0
const ValidationError = 1
const ResourceAssignmentError = 2
const ExecutionError = 3
const Other = 4

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 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, 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

Reference

Microsoft.Hpc.Scheduler.Properties.ErrorCode Namespace




Build Date:

2013-04-22

Community Additions

ADD
Show:
© 2015 Microsoft