BuildMaster SDK Reference
Version:

ValidateXml(System.IO.TextReader textReader) Method

Validates an exported deployment plan and returns any appropriate errors and warnings.

Syntax

public static IEnumerable<Util.Plans.ValidationMessage> ValidateXml(System.IO.TextReader textReader)

Parameters

textReader
Type: System.IO.TextReader

A System.IO.TextReader containing the plan to validate.

Returns

A collection of validation errors and warnings.

Exceptions

System.ArgumentNullException

textReader is null (Nothing in Visual Basic).