Bagikan melalui


IPackageDebugSettings interface

Enables debugger developers control over the lifecycle of a Windows Store app, such as when it is suspended or resumed.

Members

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

  • Methods

Methods

The IPackageDebugSettings interface has these methods.

Method Description
ActivateBackgroundTask

Activates the specified background task.

DisableDebugging

Disables debug mode for the processes of the specified package.

EnableDebugging

Enables debug mode for the processes of the specified package.

EnumerateBackgroundTasks

Enumerates background tasks for the processes of the specified package.

GetPackageExecutionState

Gets the execution state for the processes of the specified package.

RegisterForPackageStateChanges

Registers for changes in the state of the processes of the specified package.

Resume

Resumes the processes of the package if they are currently suspended.

SetTargetSessionId

Sets the session identifier.

StartServicing

Terminates the application and prevents new background task activations until a call to StopServicing is made.

StartSessionRedirection

Starts redirection for the specified session identifier.

StopServicing

Stops servicing the processes of the package if they are currently being serviced.

StopSessionRedirection

Stops redirection for the current session.

Suspend

Suspends the processes of the package if they are currently running.

TerminateAllProcesses

Terminates all processes for the specified package.

UnregisterForPackageStateChanges

Unregisters for changes in the state of the processes of the specified package.

 

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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Shobjidl_core.h

IDL

Shobjidl.idl