LaunchCommand Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LaunchCommand(String, String, LaunchCommandOption, String, IDictionary<String,String>) |
Initializes a new instance of the LaunchCommand class. |
LaunchCommand(String, String, LaunchCommandOption, String, IDictionary<String,String>, String) |
Initializes a new instance of the LaunchCommand class. |
LaunchCommand(String, String, LaunchCommandOption, String, IDictionary<String,String>)
Initializes a new instance of the LaunchCommand class.
public:
LaunchCommand(System::String ^ command, System::String ^ arguments, Microsoft::VisualStudio::Workspace::Extensions::Build::LaunchCommandOption option, System::String ^ workingDirectory, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ environmentVariables);
public LaunchCommand (string command, string arguments = "", Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommandOption option = Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommandOption.None, string workingDirectory = default, System.Collections.Generic.IDictionary<string,string> environmentVariables = default);
public LaunchCommand (string command, string arguments, Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommandOption option, string workingDirectory, System.Collections.Generic.IDictionary<string,string> environmentVariables);
public LaunchCommand (string command, string arguments, Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommandOption option, string workingDirectory, System.Collections.Generic.IDictionary<string,string>? environmentVariables);
new Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommand : string * string * Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommandOption * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommand
Public Sub New (command As String, Optional arguments As String = "", Optional option As LaunchCommandOption = Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommandOption.None, Optional workingDirectory As String = Nothing, Optional environmentVariables As IDictionary(Of String, String) = Nothing)
Public Sub New (command As String, arguments As String, option As LaunchCommandOption, workingDirectory As String, environmentVariables As IDictionary(Of String, String))
Parameters
- command
- String
The path of the process or script to launch (without arguments).
- arguments
- String
The arguments to pass to the process.
- option
- LaunchCommandOption
Launch option selected
- workingDirectory
- String
Working directory context
- environmentVariables
- IDictionary<String,String>
Optional environment variables to pass
Applies to
LaunchCommand(String, String, LaunchCommandOption, String, IDictionary<String,String>, String)
Initializes a new instance of the LaunchCommand class.
public LaunchCommand (string command, string arguments = "", Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommandOption option = Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommandOption.None, string workingDirectory = default, System.Collections.Generic.IDictionary<string,string> environmentVariables = default, string projectFullPath = default);
public LaunchCommand (string command, string arguments = "", Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommandOption option = Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommandOption.None, string? workingDirectory = default, System.Collections.Generic.IDictionary<string,string>? environmentVariables = default, string? projectFullPath = default);
new Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommand : string * string * Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommandOption * string * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommand
Public Sub New (command As String, Optional arguments As String = "", Optional option As LaunchCommandOption = Microsoft.VisualStudio.Workspace.Extensions.Build.LaunchCommandOption.None, Optional workingDirectory As String = Nothing, Optional environmentVariables As IDictionary(Of String, String) = Nothing, Optional projectFullPath 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.
- option
- LaunchCommandOption
Launch option selected
- workingDirectory
- String
Working directory context
- environmentVariables
- IDictionary<String,String>
Optional environment variables to pass
- projectFullPath
- String
Optional fullpath to project to pass