Assembly: Microsoft.Hpc.Diagnostics.Helpers (in Microsoft.Hpc.Diagnostics.Helpers.dll)
String that specifies the name of the file in which to save the XML representation of the StepResult object.
For a StepResult object that you create in the PreStep stage, use a file name of PreStepResult.xml. For the StepResult object that you create for a summary of all the results in the PostStep stage, use a file name of PostStepResult.xml. For the PreStep and PostStep stages, this method automatically saves the file to the current working directory on the head node, which is %CCP_HOME%\SpoolDir\Diagnostics\test run identifier. The diagnostic service checks only this directory for these files, so do not specify a different path. For the RunStep stage, this method saves the file to the %TEMP% folder on the local node. You should copy the file to a share if you want to access it from the head node during the PostStep stage.
The XmlSerializeToFile method converts the public fields and properties of a StepResult object that are both readable and writeable into XML. It does not convert methods, indexers, private fields, or properties that are read-only.
Development PlatformsWindows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012
Target PlatformsWindows Server 2008 R2, Windows Server 2012