Share via


IBugFieldMappingHelper.CreateFromFile Method

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

'Declaration
Function CreateFromFile ( _
    fileName As String _
) As IBugFieldMapping
IBugFieldMapping CreateFromFile(
    string fileName
)
IBugFieldMapping^ CreateFromFile(
    String^ fileName
)
abstract CreateFromFile : 
        fileName:string -> IBugFieldMapping
function CreateFromFile(
    fileName : String
) : IBugFieldMapping

Parameters

  • fileName
    Type: 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.

.NET Framework Security

See Also

Reference

IBugFieldMappingHelper Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

IBugFieldMapping