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: StringThe 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
- 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.
See Also
Reference
IBugFieldMappingHelper Interface