Language

WindowsSoftwareUpdateProviderStatus.SetActionProgress(UInt64, UInt64) Method

Definition

Reports the progress of the action that's currently running.

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

Parameters

current
UInt64

unsigned long long

uint64_t

The amount of work completed so far.

total
UInt64

unsigned long long

uint64_t

The total amount of work that represents completion.

Returns

A WindowsSoftwareUpdateResult that indicates whether the report was accepted. Check CancelRequested on the result to detect a cancellation request.

Applies to

See also