IScheduledWorkItem::GetErrorRetryCount 方法 (mstask.h)

[[此 API 可能會在後續版本的作業系統或產品中變更或無法使用。 請改用 工作排程器 2.0 介面 。] ]

擷取工作排程器會在發生錯誤時重試作業的次數。 這個方法尚未實作。

語法

HRESULT GetErrorRetryCount(
  [out] WORD *pwRetryCount
);

參數

[out] pwRetryCount

WORD的指標,其中包含重試的次數。

傳回值

未實作。

需求

   
最低支援的用戶端 Windows 2000 Professional [僅限傳統型應用程式]
最低支援的伺服器 Windows 2000 Server [僅限桌面應用程式]
目標平台 Windows
標頭 mstask.h
程式庫 Mstask.lib
Dll Mstask.dll
可轉散發套件 Windows NT 4.0 和 Windows 95 上的 Internet Explorer 4.0 或更新版本

另請參閱

IScheduledWorkItem

SetErrorRetryCount