WindowsSoftwareUpdateProviderStatus.SetActionProgress(UInt64, UInt64) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
報告目前正在進行的行動進度。
public:
virtual WindowsSoftwareUpdateResult ^ SetActionProgress(unsigned long long current, unsigned long long total) = SetActionProgress;
WindowsSoftwareUpdateResult SetActionProgress(uint64_t const& current, uint64_t const& total);
public WindowsSoftwareUpdateResult SetActionProgress(ulong current, ulong total);
function setActionProgress(current, total)
Public Function SetActionProgress (current As ULong, total As ULong) As WindowsSoftwareUpdateResult
參數
- current
-
UInt64
unsigned long long
uint64_t
到目前為止完成的工作量。
- total
-
UInt64
unsigned long long
uint64_t
代表完成的總工作量。
傳回
一個 WindowsSoftwareUpdateResult 顯示該報告是否被接受。 在結果上檢查 「取消請求 」以偵測取消請求。