Share via


Metodo IBackgroundCopyJob::Suspend (bits.h)

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();

Valore restituito

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

Codice restituito Descrizione
S_OK
Il processo è stato sospeso correttamente.
BG_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 XP
Server minimo supportato Windows Server 2003
Piattaforma di destinazione Windows
Intestazione bits.h
Libreria Bits.lib
DLL QmgrPrxy.dll

Vedi anche

IBackgroundCopyJob::Cancel

IBackgroundCopyJob::Resume