Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DeploymentItem Constructor (String^, String^)

 

Initializes an instance of the DeploymentItem class by using the provided path and the output directory.

Namespace:   Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

public:
DeploymentItem(
	String^ path,
	String^ relativeOutputDirectory
)

Parameters

path
Type: System::String^

A string that contains the location of the item.

relativeOutputDirectory
Type: System::String^

A string that contains the path for the test output, which is relative to the value of the path parameter.

Exception Condition
ArgumentException

The CheckDeploymentItem method, which is run before the object is instantiated, returned false.

Return to top
Show: