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)
Syntax
'Declaration
Public Shared Function FromXml ( _
buildServer As IBuildServer, _
reader As XmlReader _
) As IBuildDefinition
public static IBuildDefinition FromXml(
IBuildServer buildServer,
XmlReader reader
)
public:
static IBuildDefinition^ FromXml(
IBuildServer^ buildServer,
XmlReader^ reader
)
static member FromXml :
buildServer:IBuildServer *
reader:XmlReader -> IBuildDefinition
public static function FromXml(
buildServer : IBuildServer,
reader : XmlReader
) : IBuildDefinition
Parameters
buildServer
Type: Microsoft.TeamFoundation.Build.Client.IBuildServerThe build server
reader
Type: System.Xml.XmlReaderThe 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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.