Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 codeDescription
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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

IDL

Shobjidl.idl

See also

IPackageDebugSettings

 

 

Community Additions

Show:
© 2015 Microsoft