Share via


IDebugSession2.Launch Method

Definition

Overloads

Launch(String, IDebugPort2, String, String, String, String, String, enum_LAUNCH_FLAGS, UInt32, UInt32, UInt32, Guid, IDebugEventCallback2, Guid[], UInt32, IDebugProcess2)

public:
 int Launch(System::String ^ pszMachine, Microsoft::VisualStudio::Debugger::Interop::IDebugPort2 ^ pPort, System::String ^ pszExe, System::String ^ pszArgs, System::String ^ pszDir, System::String ^ bstrEnv, System::String ^ pszOptions, Microsoft::VisualStudio::Debugger::Interop::enum_LAUNCH_FLAGS dwLaunchFlags, System::UInt32 hStdInput, System::UInt32 hStdOutput, System::UInt32 hStdError, Guid % guidLaunchingEngine, Microsoft::VisualStudio::Debugger::Interop::IDebugEventCallback2 ^ pCallback, cli::array <Guid> ^ rgguidSpecificEngines, System::UInt32 celtSpecificEngines, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Debugger::Interop::IDebugProcess2 ^ % ppProcess);
public int Launch(string pszMachine, Microsoft.VisualStudio.Debugger.Interop.IDebugPort2 pPort, string pszExe, string pszArgs, string pszDir, string bstrEnv, string pszOptions, Microsoft.VisualStudio.Debugger.Interop.enum_LAUNCH_FLAGS dwLaunchFlags, uint hStdInput, uint hStdOutput, uint hStdError, ref Guid guidLaunchingEngine, Microsoft.VisualStudio.Debugger.Interop.IDebugEventCallback2 pCallback, Guid[] rgguidSpecificEngines, uint celtSpecificEngines, out Microsoft.VisualStudio.Debugger.Interop.IDebugProcess2 ppProcess);
abstract member Launch : string * Microsoft.VisualStudio.Debugger.Interop.IDebugPort2 * string * string * string * string * string * Microsoft.VisualStudio.Debugger.Interop.enum_LAUNCH_FLAGS * uint32 * uint32 * uint32 * Guid * Microsoft.VisualStudio.Debugger.Interop.IDebugEventCallback2 * Guid[] * uint32 * IDebugProcess2 -> int
Public Function Launch (pszMachine As String, pPort As IDebugPort2, pszExe As String, pszArgs As String, pszDir As String, bstrEnv As String, pszOptions As String, dwLaunchFlags As enum_LAUNCH_FLAGS, hStdInput As UInteger, hStdOutput As UInteger, hStdError As UInteger, ByRef guidLaunchingEngine As Guid, pCallback As IDebugEventCallback2, rgguidSpecificEngines As Guid(), celtSpecificEngines As UInteger, ByRef ppProcess As IDebugProcess2) As Integer

Parameters

pszMachine
String
pPort
IDebugPort2
pszExe
String
pszArgs
String
pszDir
String
bstrEnv
String
pszOptions
String
dwLaunchFlags
enum_LAUNCH_FLAGS
hStdInput
UInt32
hStdOutput
UInt32
hStdError
UInt32
guidLaunchingEngine
Guid
rgguidSpecificEngines
Guid[]
celtSpecificEngines
UInt32
ppProcess
IDebugProcess2

Returns

Applies to

Launch(String, IDebugPort2, String, String, String, String, String, UInt32, UInt32, UInt32, UInt32, Guid, IDebugEventCallback2, Guid[], UInt32, IDebugProcess2)

public:
 int Launch(System::String ^ pszMachine, Microsoft::VisualStudio::Debugger::Interop::IDebugPort2 ^ pPort, System::String ^ pszExe, System::String ^ pszArgs, System::String ^ pszDir, System::String ^ bstrEnv, System::String ^ pszOptions, System::UInt32 dwLaunchFlags, System::UInt32 hStdInput, System::UInt32 hStdOutput, System::UInt32 hStdError, Guid % guidLaunchingEngine, Microsoft::VisualStudio::Debugger::Interop::IDebugEventCallback2 ^ pCallback, cli::array <Guid> ^ rgguidSpecificEngines, System::UInt32 celtSpecificEngines, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Debugger::Interop::IDebugProcess2 ^ % ppProcess);
public int Launch(string pszMachine, Microsoft.VisualStudio.Debugger.Interop.IDebugPort2 pPort, string pszExe, string pszArgs, string pszDir, string bstrEnv, string pszOptions, uint dwLaunchFlags, uint hStdInput, uint hStdOutput, uint hStdError, ref Guid guidLaunchingEngine, Microsoft.VisualStudio.Debugger.Interop.IDebugEventCallback2 pCallback, Guid[] rgguidSpecificEngines, uint celtSpecificEngines, out Microsoft.VisualStudio.Debugger.Interop.IDebugProcess2 ppProcess);
abstract member Launch : string * Microsoft.VisualStudio.Debugger.Interop.IDebugPort2 * string * string * string * string * string * uint32 * uint32 * uint32 * uint32 * Guid * Microsoft.VisualStudio.Debugger.Interop.IDebugEventCallback2 * Guid[] * uint32 * IDebugProcess2 -> int
Public Function Launch (pszMachine As String, pPort As IDebugPort2, pszExe As String, pszArgs As String, pszDir As String, bstrEnv As String, pszOptions As String, dwLaunchFlags As UInteger, hStdInput As UInteger, hStdOutput As UInteger, hStdError As UInteger, ByRef guidLaunchingEngine As Guid, pCallback As IDebugEventCallback2, rgguidSpecificEngines As Guid(), celtSpecificEngines As UInteger, ByRef ppProcess As IDebugProcess2) As Integer

Parameters

pszMachine
String
pPort
IDebugPort2
pszExe
String
pszArgs
String
pszDir
String
bstrEnv
String
pszOptions
String
dwLaunchFlags
UInt32
hStdInput
UInt32
hStdOutput
UInt32
hStdError
UInt32
guidLaunchingEngine
Guid
rgguidSpecificEngines
Guid[]
celtSpecificEngines
UInt32
ppProcess
IDebugProcess2

Returns

Applies to