DkmProcessLaunchEnvironmentFilterInputData.Create Method

Definition

Create a new DkmProcessLaunchEnvironmentFilterInputData object instance.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

public:
 static Microsoft::VisualStudio::Debugger::Start::DkmProcessLaunchEnvironmentFilterInputData ^ Create(Microsoft::VisualStudio::Debugger::DefaultPort::DkmTransportConnection ^ Connection, Microsoft::VisualStudio::Debugger::Start::DkmDebugLaunchSettings ^ DebugLaunchSettings, System::String ^ ExecutablePath, Microsoft::VisualStudio::Debugger::DefaultPort::DkmAppPackageId ^ AppPackageId, Microsoft::VisualStudio::Debugger::Start::DkmProcessLaunchFlags LaunchFlags);
public static Microsoft.VisualStudio.Debugger.Start.DkmProcessLaunchEnvironmentFilterInputData Create (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection Connection, Microsoft.VisualStudio.Debugger.Start.DkmDebugLaunchSettings DebugLaunchSettings, string ExecutablePath, Microsoft.VisualStudio.Debugger.DefaultPort.DkmAppPackageId AppPackageId, Microsoft.VisualStudio.Debugger.Start.DkmProcessLaunchFlags LaunchFlags);
public static Microsoft.VisualStudio.Debugger.Start.DkmProcessLaunchEnvironmentFilterInputData Create (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection Connection, Microsoft.VisualStudio.Debugger.Start.DkmDebugLaunchSettings DebugLaunchSettings, string? ExecutablePath, Microsoft.VisualStudio.Debugger.DefaultPort.DkmAppPackageId? AppPackageId, Microsoft.VisualStudio.Debugger.Start.DkmProcessLaunchFlags LaunchFlags);
static member Create : Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection * Microsoft.VisualStudio.Debugger.Start.DkmDebugLaunchSettings * string * Microsoft.VisualStudio.Debugger.DefaultPort.DkmAppPackageId * Microsoft.VisualStudio.Debugger.Start.DkmProcessLaunchFlags -> Microsoft.VisualStudio.Debugger.Start.DkmProcessLaunchEnvironmentFilterInputData
Public Shared Function Create (Connection As DkmTransportConnection, DebugLaunchSettings As DkmDebugLaunchSettings, ExecutablePath As String, AppPackageId As DkmAppPackageId, LaunchFlags As DkmProcessLaunchFlags) As DkmProcessLaunchEnvironmentFilterInputData

Parameters

Connection
DkmTransportConnection

[In] This represents a connection between the monitor and the IDE. It can either be a local connection if the monitor is running in the same process as the IDE, or it can be a remote connection. In the monitor process, there is only one connection.

DebugLaunchSettings
DkmDebugLaunchSettings

[In] Settings supplied during a start debugging operation from a project system or other caller of LaunchDebugTargets (or various other start debugging APIs).

ExecutablePath
String

[In,Optional] Path to the executable file to launch. For a desktop app launch (AppPackageId is null) this will be the full path to the executable which will be launched. For Windows Store or a project system using the IVsDebugLaunchNotifyListener110 API, this value is a hint from the project system. It could be null, it could be just the file name of the executable rather than a full path, or it could represent only one of the executables that could be launched in the package.

AppPackageId
DkmAppPackageId

[In,Optional] The Windows Store (or possibly other container in the future) app package of the app which is about to be started.

LaunchFlags
DkmProcessLaunchFlags

[In] Flags associated with a request to launch a process.

Returns

[Out] Result of this method call.

Applies to