Share via


ITestFailureTypeHelper.CreateFromFile Method (String)

 

Creates test failure type objects from an XML file.

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

Syntax

IEnumerable<ITestFailureType> CreateFromFile(
    string fileName
)
IEnumerable<ITestFailureType^>^ CreateFromFile(
    String^ fileName
)
abstract CreateFromFile : 
        fileName:string -> IEnumerable<ITestFailureType>
Function CreateFromFile (
    fileName As String
) As IEnumerable(Of ITestFailureType)

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<ITestFailureType>

Remarks

This method does validation of the xml file against a schema If the schema validation fails, the XmlSchemaValidationException will be thrown, and for other validation, TestManagementValidationException.

See Also

ITestFailureTypeHelper Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top