Condividi tramite


Metodo IPackageDebugSettings::StartServicing (shobjidl_core.h)

Sospende e termina la parte non in background delle app associate al pacchetto specificato e annulla le attività in background associate al pacchetto.

Sintassi

HRESULT StartServicing(
  [in] LPCWSTR packageFullName
);

Parametri

[in] packageFullName

Nome completo del pacchetto.

Valore restituito

Se questo metodo ha esito positivo, restituisce S_OK. In caso contrario, restituisce un codice di errore HRESULT .

Commenti

Usare il metodo StartServicing per simulare ciò che accade quando un pacchetto viene aggiornato a una versione più recente. Le nuove attivazioni di attività in background vengono memorizzate nel buffer (ritardato) fino a quando non si chiama il metodo StopServicing .

Requisiti

Requisito Valore
Client minimo supportato Windows 8 [solo app desktop]
Server minimo supportato Windows Server 2012 [solo app desktop]
Piattaforma di destinazione Windows
Intestazione shobjidl_core.h

Vedi anche

IPackageDebugSettings

StopServicing