IPackageDebugSettings interface (shobjidl_core.h)

Enables debugger developers to control the life cycle of a Windows Store app, such as suspending or resuming.

Inheritance

The IPackageDebugSettings interface inherits from the IUnknown interface. IPackageDebugSettings also has these types of members:

Methods

The IPackageDebugSettings interface has these methods.

 
IPackageDebugSettings::ActivateBackgroundTask

Activates the specified background task.
IPackageDebugSettings::DisableDebugging

Disables debug mode for the processes of the specified package.
IPackageDebugSettings::EnableDebugging

Enables debug mode for the processes of the specified package.
IPackageDebugSettings::EnumerateBackgroundTasks

Gets the background tasks that are provided by the specified package.
IPackageDebugSettings::GetPackageExecutionState

Returns the current execution state of the specified package.
IPackageDebugSettings::RegisterForPackageStateChanges

Register for package state-change notifications.
IPackageDebugSettings::Resume

Resumes the processes of the package if they are currently suspended.
IPackageDebugSettings::SetTargetSessionId

Sets the session identifier.
IPackageDebugSettings::StartServicing

Suspends and terminates the non-background portion of the apps associated with the specified package and cancels the background tasks associated with the package.
IPackageDebugSettings::StartSessionRedirection

Causes background tasks for the specified package to activate in the specified user session.
IPackageDebugSettings::StopServicing

Completes the previous servicing operation that was started by a call to the StartServicing method.
IPackageDebugSettings::StopSessionRedirection

Stops redirection of background tasks for the specified package.
IPackageDebugSettings::Suspend

Suspends the processes of the package if they are currently running.
IPackageDebugSettings::TerminateAllProcesses

Terminates all processes for the specified package.
IPackageDebugSettings::UnregisterForPackageStateChanges

Stops receiving package state-change notifications associated with a previous call to RegisterForPackageStateChanges.

Remarks

Any debug options set remain in effect until they are cleared or this interface is released.

For debug settings to take effect on Internet Explorer in the new Windows UI, use "DefaultBrowser_NOPUBLISHERID" as the packageFullName parameter for IPackageDebugSettings methods.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h