WindowsUpdate.CurrentAction 属性

定义

获取 WindowsUpdate 对象正在处理的当前操作。

public:
 property Platform::String ^ CurrentAction { Platform::String ^ get(); };
winrt::hstring CurrentAction();
public string CurrentAction { get; }
var string = windowsUpdate.currentAction;
Public ReadOnly Property CurrentAction As String

属性值

String

Platform::String

winrt::hstring

WindowsUpdate 对象正在执行的当前操作。

注解

这通常为“下载”或“安装”。 其他可能的操作包括“卸载”、“提交”和“PostReboot”。

适用于