Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Public Sub New ( _
path As String, _
relativeOutputDirectory As String _
)
public DeploymentItem(
string path,
string relativeOutputDirectory
)
public:
DeploymentItem(
String^ path,
String^ relativeOutputDirectory
)
new :
path:string *
relativeOutputDirectory:string -> DeploymentItem
public function DeploymentItem(
path : String,
relativeOutputDirectory : String
)
Parameters
path
Type: StringA string that contains the location of the item.
relativeOutputDirectory
Type: StringA string that contains the path for the test output, which is relative to the value of the path parameter.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The CheckDeploymentItem method, which is run before the object is instantiated, returned false. |
.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.