DkmActivateAppPackageInfo.Create Method

Definition

Create a new DkmActivateAppPackageInfo object instance.

This API was introduced in Visual Studio 15 Update 1 (DkmApiVersion.VS15Update1).

public:
 static Microsoft::VisualStudio::Debugger::Start::DkmActivateAppPackageInfo ^ Create(Microsoft::VisualStudio::Debugger::DefaultPort::DkmTransportConnection ^ Connection, Microsoft::VisualStudio::Debugger::DefaultPort::DkmPackagedAppPlatform AppPlatform, System::String ^ ActivationName, bool LaunchForDebugging, System::String ^ LaunchArguments, Microsoft::VisualStudio::Debugger::DefaultPort::DkmActivateAppPackageFlags ActivationOptions, System::UInt32 Monitor);
public static Microsoft.VisualStudio.Debugger.Start.DkmActivateAppPackageInfo Create (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection Connection, Microsoft.VisualStudio.Debugger.DefaultPort.DkmPackagedAppPlatform AppPlatform, string ActivationName, bool LaunchForDebugging, string LaunchArguments, Microsoft.VisualStudio.Debugger.DefaultPort.DkmActivateAppPackageFlags ActivationOptions, uint Monitor);
public static Microsoft.VisualStudio.Debugger.Start.DkmActivateAppPackageInfo Create (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection Connection, Microsoft.VisualStudio.Debugger.DefaultPort.DkmPackagedAppPlatform AppPlatform, string ActivationName, bool LaunchForDebugging, string? LaunchArguments, Microsoft.VisualStudio.Debugger.DefaultPort.DkmActivateAppPackageFlags ActivationOptions, uint Monitor);
static member Create : Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection * Microsoft.VisualStudio.Debugger.DefaultPort.DkmPackagedAppPlatform * string * bool * string * Microsoft.VisualStudio.Debugger.DefaultPort.DkmActivateAppPackageFlags * uint32 -> Microsoft.VisualStudio.Debugger.Start.DkmActivateAppPackageInfo
Public Shared Function Create (Connection As DkmTransportConnection, AppPlatform As DkmPackagedAppPlatform, ActivationName As String, LaunchForDebugging As Boolean, LaunchArguments As String, ActivationOptions As DkmActivateAppPackageFlags, Monitor As UInteger) As DkmActivateAppPackageInfo

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.

AppPlatform
DkmPackagedAppPlatform

[In] Indicates if the specified application package is a Windows Phone or Windows Store app.

ActivationName
String

[In] Identifier for the application to launch.

LaunchForDebugging
Boolean

[In] If true, the app is being debugged.

LaunchArguments
String

[In,Optional] Command line arguments to pass to the app.

ActivationOptions
DkmActivateAppPackageFlags

[In] Flags indicating options for AppPackage activation.

Monitor
UInt32

[In,Optional] Target monitor index (see: ActivateAppPackageOnTargetMonitor).

Returns

[Out] Result of this method call.

Applies to