BuildMaster SDK Reference
Version:

ValidateXml(System.IO.Stream stream) Method

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

Syntax

public static IEnumerable<Util.Plans.ValidationMessage> ValidateXml(System.IO.Stream stream)

Parameters

stream
Type: System.IO.Stream

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

Returns

A collection of validation errors and warnings.

Exceptions

System.ArgumentNullException

stream is null (Nothing in Visual Basic).