IBackgroundCopyJob::GetNoProgressTimeout 方法 (bits.h)

擷取服務在發生暫時性錯誤狀況之後嘗試傳輸檔案的時間長度。 如果有進度,則會重設定時器。

語法

HRESULT GetNoProgressTimeout(
  [in] ULONG *Seconds
);

參數

[in] Seconds

服務嘗試在發生暫時性錯誤之後傳輸檔案的時間長度,以秒為單位。

傳回值

這個方法會傳回下列 HRESULT 值,以及其他值。

傳回碼 Description
S_OK
已成功擷取逾時。
E_INVALIDARG
必須傳遞 pRetryPeriod 的位址。

規格需求

需求
最低支援的用戶端 Windows XP
最低支援的伺服器 Windows Server 2003
目標平台 Windows
標頭 bits.h
程式庫 Bits.lib
Dll QmgrPrxy.dll

另請參閱

IBackgroundCopyJob::GetMinimumRetryDelay

IBackgroundCopyJob::SetNoProgressTimeout