Partager via


BuildActionContext Constructors

Definition

Overloads

BuildActionContext(LaunchCommand[], String)

Initializes a new instance of the BuildActionContext class.

BuildActionContext(String, String, String)

Initializes a new instance of the BuildActionContext class.

BuildActionContext(LaunchCommand[], String)

Initializes a new instance of the BuildActionContext class.

 BuildActionContext(std::Array <Microsoft::VisualStudio::Workspace::Extensions::Build::LaunchCommand const &> const & launchCommands, std::wstring const & buildConfiguration = null);
public BuildActionContext (Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommand[] launchCommands, string buildConfiguration = default);
public BuildActionContext (Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommand[] launchCommands, string? buildConfiguration = default);
new Microsoft.VisualStudio.Workspace.Extensions.Build.BuildActionContext : Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommand[] * string -> Microsoft.VisualStudio.Workspace.Extensions.Build.BuildActionContext
Public Sub New (launchCommands As LaunchCommand(), Optional buildConfiguration As String = Nothing)

Parameters

launchCommands
LaunchCommand[]

Launch commands

buildConfiguration
String

The build configuration context of this build action

Applies to

BuildActionContext(String, String, String)

Initializes a new instance of the BuildActionContext class.

 BuildActionContext(std::wstring const & command, std::wstring const & arguments = "", std::wstring const & buildConfiguration = null);
public BuildActionContext (string command, string arguments = "", string buildConfiguration = default);
public BuildActionContext (string command, string arguments = "", string? buildConfiguration = default);
new Microsoft.VisualStudio.Workspace.Extensions.Build.BuildActionContext : string * string * string -> Microsoft.VisualStudio.Workspace.Extensions.Build.BuildActionContext
Public Sub New (command As String, Optional arguments As String = "", Optional buildConfiguration As String = Nothing)

Parameters

command
String

The path of the process or script to launch (without arguments).

arguments
String

The arguments to pass to the process.

buildConfiguration
String

The build configuration context of this build action

Applies to