BuildEnvironment Constructor
Initializes a new instance of the BuildEnvironment class.
Namespace: Microsoft.TeamFoundation.Build.Workflow
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
声明
Public Sub New ( _
environment As HostEnvironmentOption, _
customAssemblyPath As String _
)
public BuildEnvironment(
HostEnvironmentOption environment,
string customAssemblyPath
)
public:
BuildEnvironment(
HostEnvironmentOption environment,
String^ customAssemblyPath
)
new :
environment:HostEnvironmentOption *
customAssemblyPath:string -> BuildEnvironment
public function BuildEnvironment(
environment : HostEnvironmentOption,
customAssemblyPath : String
)
Parameters
- environment
Type: Microsoft.TeamFoundation.Build.Client.HostEnvironmentOption
A HostEnvironmentOption value that specifies the host environment.
- customAssemblyPath
Type: System.String
The path of the custom assembly.
.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.