DkmActivateAppPackageInfo Class
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.
Information required to activate an App Package.
This API was introduced in Visual Studio 15 Update 1 (DkmApiVersion.VS15Update1).
public ref class DkmActivateAppPackageInfo
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmActivateAppPackageInfo
[Windows::Foundation::Metadata::WebHostHidden]
class DkmActivateAppPackageInfo
[System.Runtime.InteropServices.Guid("ef4ed646-8d27-de03-af5c-9a4d4ffd9c28")]
public class DkmActivateAppPackageInfo
[<System.Runtime.InteropServices.Guid("ef4ed646-8d27-de03-af5c-9a4d4ffd9c28")>]
type DkmActivateAppPackageInfo = class
Public Class DkmActivateAppPackageInfo
- Inheritance
-
DkmActivateAppPackageInfo
- Attributes
Properties
| Name | Description |
|---|---|
| ActivationName |
Identifier for the application to launch. This API was introduced in Visual Studio 15 Update 1 (DkmApiVersion.VS15Update1). |
| ActivationOptions |
Flags indicating options for AppPackage activation. This API was introduced in Visual Studio 15 Update 1 (DkmApiVersion.VS15Update1). |
| AppPlatform |
Indicates if the specified application package is a Windows Phone or Windows Store app. This API was introduced in Visual Studio 15 Update 1 (DkmApiVersion.VS15Update1). |
| Connection |
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. This API was introduced in Visual Studio 15 Update 1 (DkmApiVersion.VS15Update1). |
| LaunchArguments |
[Optional] Command line arguments to pass to the app. This API was introduced in Visual Studio 15 Update 1 (DkmApiVersion.VS15Update1). |
| LaunchForDebugging |
If true, the app is being debugged. This API was introduced in Visual Studio 15 Update 1 (DkmApiVersion.VS15Update1). |
| Monitor |
[Optional] Target monitor index (see: ActivateAppPackageOnTargetMonitor). This API was introduced in Visual Studio 15 Update 1 (DkmApiVersion.VS15Update1). |
Methods
| Name | Description |
|---|---|
| Activate(DkmWorkList, DkmCompletionRoutine<DkmActivateAppPackageAsyncResult>) |
Activates the specified packaged application. This will cause the application to start if it has not already started, and will bring it back as the active application if it is already running. When launching under the debugger, IDkmProcessLaunchNotifyListener.StartListener will be called before this API. This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine. This API was introduced in Visual Studio 15 Update 1 (DkmApiVersion.VS15Update1). |
| Activate(DkmWorkList, DkmCompletionRoutine<DkmActivateAppPackageAsyncResult173>) |
Activates the specified packaged application. This will cause the application to start if it has not already started, and will bring it back as the active application if it is already running. When launching under the debugger, IDkmProcessLaunchNotifyListener.StartListener will be called before this API. This overload of the API returns the process id of the activated application. This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine. This API was introduced in Visual Studio 17 Update 3 (DkmApiVersion.VS17Update3). |
| Create(DkmTransportConnection, DkmPackagedAppPlatform, String, Boolean, String, DkmActivateAppPackageFlags, UInt32) |
Create a new DkmActivateAppPackageInfo object instance. This API was introduced in Visual Studio 15 Update 1 (DkmApiVersion.VS15Update1). |