ResultCode Enumeration
Defines the overall result of a diagnostic test run. The result appears in the State column for a test result in HPC Cluster Manager.
Namespace: Microsoft.Hpc.Diagnostics.Helpers.StepResult
Assembly: Microsoft.Hpc.Diagnostics.Helpers (in Microsoft.Hpc.Diagnostics.Helpers.dll)
Namespace: Microsoft.Hpc.Diagnostics.Helpers.StepResult
Assembly: Microsoft.Hpc.Diagnostics.Helpers (in Microsoft.Hpc.Diagnostics.Helpers.dll)
| Member name | Description |
|---|---|
| Complete | Indicates that the test run completed. This value is appropriate for diagnostic tests that do not have criteria for failure or success. This enumeration member represents a value of 6. |
| Failure | Indicates that the diagnostic test ran, but the results met the criteria of the diagnostic test for failure. This enumeration member represents a value of 4. |
| NoResult | Indicates that the diagnostic test had no result. This value is the default value, and it is appropriate when you want to create a PreStepResult.xml file to provide the results of the PreStep stage of the test to the RunStep stage, which is a transition that occurs before the main part of the diagnostic test runs. This enumeration member represents a value of 0. |
| Success | Indicates that the results the test run met the criteria of the diagnostic test for success. This enumeration member represents a value of 2. |
| Warning | Indicates that the test ran, but the results met the criteria of the diagnostic test for a warning. This enumeration member represents a value of 3. |
This enumeration provides the possible values for the Result property, and for the contents of the Result element in the Diagnostic Test Step Result XML schema.
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 NoResult = 0 const Success = 2 const Warning = 3 const Failure = 4 const Complete = 6
Development Platforms
Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012Target 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 UtilitiesReference
Microsoft.Hpc.Diagnostics.Helpers.StepResult Namespace
Build Date:
Community Additions
ADD
Show: