AddResultFile Method
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

TestContext.AddResultFile Method

When overridden in a derived class, adds a file name to the list in TestResult.ResultFileNames.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.SmartDevice.UnitTestFramework (in Microsoft.VisualStudio.SmartDevice.UnitTestFramework.dll)

public abstract void AddResultFile(
	string fileName


Type: System.String

The file name to add.

© 2016 Microsoft