IDkmProductionConnection.StartAgent 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.
public:
Microsoft::VisualStudio::Debugger::DefaultPort::DkmProductionAgent ^ StartAgent(Microsoft::VisualStudio::Debugger::DefaultPort::DkmProductionConnection ^ productionConnection, System::String ^ agentCommand, System::String ^ commandLineParameters, Guid vsService);
public Microsoft.VisualStudio.Debugger.DefaultPort.DkmProductionAgent StartAgent (Microsoft.VisualStudio.Debugger.DefaultPort.DkmProductionConnection productionConnection, string agentCommand, string commandLineParameters, Guid vsService);
abstract member StartAgent : Microsoft.VisualStudio.Debugger.DefaultPort.DkmProductionConnection * string * string * Guid -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmProductionAgent
Public Function StartAgent (productionConnection As DkmProductionConnection, agentCommand As String, commandLineParameters As String, vsService As Guid) As DkmProductionAgent
Parameters
- productionConnection
- DkmProductionConnection
[In] This represents a connection between the monitor and the IDE with the purpose of transporting messages related to the production scenario.
- 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.