DkmProductionConnection.StartAgent(String, String, Guid) Method
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.
Start an agent process with input and output redirected.
This API was introduced in Visual Studio 15 Update 2 (DkmApiVersion.VS15Update2).
public:
Microsoft::VisualStudio::Debugger::DefaultPort::DkmProductionAgent ^ StartAgent(System::String ^ AgentCommand, System::String ^ CommandLineParameters, Guid VsService);
public Microsoft.VisualStudio.Debugger.DefaultPort.DkmProductionAgent StartAgent (string AgentCommand, string CommandLineParameters, Guid VsService);
member this.StartAgent : string * string * Guid -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmProductionAgent
Public Function StartAgent (AgentCommand As String, CommandLineParameters As String, VsService As Guid) As DkmProductionAgent
Parameters
- AgentCommand
- String
[In] The path of the agent executable. The path will have environment variables expanded.
- CommandLineParameters
- String
[In] The command line parameters to pass to the agent.
- VsService
- Guid
[In] The Guid of the VS service to send the contents of writes to stdout to.
Returns
[Out] The DkmProductionAgent instance that represents this agent.