ITestResolutionStateHelper.CreateFromFile Method (String)
Creates a test resolution state object from an XML file.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
IEnumerable<ITestResolutionState> CreateFromFile(
string fileName
)
IEnumerable<ITestResolutionState^>^ CreateFromFile(
String^ fileName
)
abstract CreateFromFile :
fileName:string -> IEnumerable<ITestResolutionState>
Function CreateFromFile (
fileName As String
) As IEnumerable(Of ITestResolutionState)
Parameters
fileName
Type: System.StringThe path and file name of the XML file that contains a persisted test resolution state object.
Return Value
Type: System.Collections.Generic.IEnumerable<ITestResolutionState>
A test resolution state object.
Exceptions
Exception | Condition |
---|---|
XmlSchemaValidationException | The provided XML file failed the schema validation. |
TestManagementValidationException | The instantiated test resolution state object failed validation. |
See Also
ITestResolutionState
ITestResolutionStateHelper Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top