IPackageDebugSettings::Suspend method (shobjidl_core.h)

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

Syntax

HRESULT Suspend(
  [in] LPCWSTR packageFullName
);

Parameters

[in] packageFullName

The package full name.

Return value

This method can return one of these values.

Return code Description
S_OK
The system has successfully started suspending the package.
A failing HRESULT value
No process in the package is currently running, or another error occurred.

Remarks

Each process receives the Suspending event, which is useful for stepping through your apps as they respond to this event.

Requirements

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

See also

IPackageDebugSettings

Resume