IPackageDebugSettings::StartServicing method (shobjidl_core.h)
Suspends and terminates the non-background portion of the apps associated with the specified package and cancels the background tasks associated with the package.
Syntax
HRESULT StartServicing(
[in] LPCWSTR packageFullName
);
Parameters
[in] packageFullName
The package full name.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Use the StartServicing method to simulate what happens when a package is updated to a newer version. New background task activations are buffered (delayed) until you call the StopServicing method.
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 |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για