IApplicationActivationManager interface
Provides methods which activate Windows Store apps for the Launch, File, and Protocol extensions. You will normally use this interface in debuggers and design tools. For instance, Microsoft Visual StudioIDE and Microsoft Expression Blend use this interface because both need to activate apps for the Launch contract to support F5 debugging.
Members
The IApplicationActivationManager interface inherits from the IUnknown interface. IApplicationActivationManager also has these types of members:
Methods
The IApplicationActivationManager interface has these methods.
| Method | Description |
|---|---|
| ActivateApplication | |
| ActivateForFile | |
| ActivateForProtocol |
Remarks
An IApplicationActivationManager object creates a thread in its host process to serve any activated event arguments objects (LaunchActivatedEventArgs, FileActivatedEventArgs, and ProtocolActivatedEventArgs) that are passed to the app. If the calling process is long-lived, you can create this object in-proc, based on the assumption that the event arguments will exist long enough for the target app to use them. However, if the calling process is spawned only to launch the target app, it should create the IApplicationActivationManager object out-of-process, by using CLSCTX_LOCAL_SERVER. This causes the object to be created in a Dllhost.exe instance that will automatically manage the object's lifetime, based on outstanding references to the activated event argument objects.
Requirements
|
Minimum supported client | Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [desktop apps only] |
|
Header |
|
|
IDL |
|
Send comments about this topic to Microsoft
Build date: 11/28/2012
