This documentation is archived and is not being maintained.

BuildDefinitionXmlSerializer::FromXml Method

Deserializes a build definition from XML form that was previously serialized by a call to ToXml.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

public:
static IBuildDefinition^ FromXml(
	IBuildServer^ buildServer, 
	XmlReader^ reader
)

Parameters

buildServer
Type: Microsoft.TeamFoundation.Build.Client::IBuildServer

The build server

reader
Type: System.Xml::XmlReader

The System.Xml.XmlReader from which the definition should be read

Return Value

Type: Microsoft.TeamFoundation.Build.Client::IBuildDefinition
An exact copy of the previously serialized build definition object

Show: