Metodo IBackgroundCopyJob::Suspend

Sospende un processo. I nuovi processi, i processi in errore e i processi che hanno completato il trasferimento dei file vengono sospesi automaticamente.

Sintassi

HRESULT Suspend();

Parametri

Questo metodo non presenta parametri.

Valore restituito

Questo metodo restituisce i valori HRESULT seguenti, nonché altri.

Codice restituito Descrizione
S_OK
È stato sospeso correttamente il processo.
DO_E_INVALID_STATE
Lo stato del processo non può essere BG_JOB_STATE_CANCELLED o BG_JOB_STATE_ACKNOWLEDGED.

Requisiti

Requisito Valore
Client minimo supportato
Windows 10 versione 1709 [solo app desktop]
Server minimo supportato
Windows Server, versione 1709 [solo app desktop]
Intestazione
Deliveryoptimization.h
IDL
DeliveryOptimization.idl
Libreria
Dosvc.lib
DLL
Dosvc.dll
IID
IID_IBackgroundCopyJob viene definito come 37668D37-507E-4160-9316-26306D150B12

Vedi anche

IBackgroundCopyJob

IBackgroundCopyJob::Cancel

IBackgroundCopyJob::Resume