IPackageDebugSettings::Suspend method

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

Syntax

HRESULT Suspend(
  [in] LPCWSTR packageFullName
);

Parameters

packageFullName [in]

Type: LPCWSTR

The package full name.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK
The operation succeeded.
E_ILLEGAL_STATECHANGE
The process is not currently running.

 

Remarks

Each process receives the Suspending event. It can be useful for developers to step through how their apps respond to this event.

Requirements

Requirement Value
Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
IDL
Shobjidl.idl

See also

IPackageDebugSettings