Table of Contents

Method CreateProcess

Namespace
Microsoft.Samples.Debugging.CorDebug
Assembly
corapi.dll

CreateProcess(string, string)

public CorProcess CreateProcess(string applicationName, string commandLine)

Parameters

applicationName string
commandLine string

Returns

CorProcess

CreateProcess(string, string, string)

public CorProcess CreateProcess(string applicationName, string commandLine, string currentDirectory)

Parameters

applicationName string
commandLine string
currentDirectory string

Returns

CorProcess

CreateProcess(string, string, string, int)

public CorProcess CreateProcess(string applicationName, string commandLine, string currentDirectory, int flags)

Parameters

applicationName string
commandLine string
currentDirectory string
flags int

Returns

CorProcess

CreateProcess(string, string, string, int, CorRemoteTarget)

public CorProcess CreateProcess(string applicationName, string commandLine, string currentDirectory, int flags, CorRemoteTarget target)

Parameters

applicationName string
commandLine string
currentDirectory string
flags int
target CorRemoteTarget

Returns

CorProcess

CreateProcess(string, string, SECURITY_ATTRIBUTES, SECURITY_ATTRIBUTES, bool, int, IntPtr, string, STARTUPINFO, ref PROCESS_INFORMATION, CorDebugCreateProcessFlags)

public CorProcess CreateProcess(string applicationName, string commandLine, SECURITY_ATTRIBUTES processAttributes, SECURITY_ATTRIBUTES threadAttributes, bool inheritHandles, int creationFlags, IntPtr environment, string currentDirectory, STARTUPINFO startupInfo, ref PROCESS_INFORMATION processInformation, CorDebugCreateProcessFlags debuggingFlags)

Parameters

applicationName string
commandLine string
processAttributes SECURITY_ATTRIBUTES
threadAttributes SECURITY_ATTRIBUTES
inheritHandles bool
creationFlags int
environment IntPtr
currentDirectory string
startupInfo STARTUPINFO
processInformation PROCESS_INFORMATION
debuggingFlags CorDebugCreateProcessFlags

Returns

CorProcess

CreateProcess(CorRemoteTarget, string, string, SECURITY_ATTRIBUTES, SECURITY_ATTRIBUTES, bool, int, IntPtr, string, STARTUPINFO, ref PROCESS_INFORMATION, CorDebugCreateProcessFlags)

public virtual CorProcess CreateProcess(CorRemoteTarget target, string applicationName, string commandLine, SECURITY_ATTRIBUTES processAttributes, SECURITY_ATTRIBUTES threadAttributes, bool inheritHandles, int creationFlags, IntPtr environment, string currentDirectory, STARTUPINFO startupInfo, ref PROCESS_INFORMATION processInformation, CorDebugCreateProcessFlags debuggingFlags)

Parameters

target CorRemoteTarget
applicationName string
commandLine string
processAttributes SECURITY_ATTRIBUTES
threadAttributes SECURITY_ATTRIBUTES
inheritHandles bool
creationFlags int
environment IntPtr
currentDirectory string
startupInfo STARTUPINFO
processInformation PROCESS_INFORMATION
debuggingFlags CorDebugCreateProcessFlags

Returns

CorProcess