IBugFieldMappingHelper.CreateFromFile Method (String)

 

Creates a new bug field mapping object by using the specified XML file.

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

Syntax

IBugFieldMapping CreateFromFile(
    string fileName
)
IBugFieldMapping^ CreateFromFile(
    String^ fileName
)
abstract CreateFromFile : 
        fileName:string -> IBugFieldMapping
Function CreateFromFile (
    fileName As String
) As IBugFieldMapping

Parameters

  • fileName
    Type: System.String

    The path and file name of the XML file to load.

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.IBugFieldMapping

Exceptions

Exception Condition
TestManagementValidationException

The new bug field mapping object was invalid.

XmlSchemaValidationException

The XML file failed schema validation.

See Also

IBugFieldMapping
IBugFieldMappingHelper Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top