Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITestFailureTypeHelper::ImportFromFile Method (String^)

 

Imports test failure types from an XML file.

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

IEnumerable<ITestFailureType^>^ ImportFromFile(
	String^ fileName
)

Parameters

fileName
Type: System::String^

The path of the xml file

This method does both validation the xml file against a schema and creation of test failure types in TCM Server. If the schema validation fails, the XmlSchemaValidationException will be thrown, and for other validation, TestManagementValidationException.

Return to top
Show: