Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Imports test failure types from an XML file.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function ImportFromFile ( _
fileName As String _
) As IEnumerable(Of ITestFailureType)
IEnumerable<ITestFailureType> ImportFromFile(
string fileName
)
IEnumerable<ITestFailureType^>^ ImportFromFile(
String^ fileName
)
abstract ImportFromFile :
fileName:string -> IEnumerable<ITestFailureType>
function ImportFromFile(
fileName : String
) : IEnumerable<ITestFailureType>
Parameters
fileName
Type: StringThe path of the xml file
Return Value
Type: IEnumerable<ITestFailureType>
Remarks
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.
.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.