Share via


WindowsUpdate Class

Definition

WindowsUpdate is essentially a property bag with information about a pending or in-progress update.

public ref class WindowsUpdate sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Management.Update.WindowsUpdateContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WindowsUpdate final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Management.Update.WindowsUpdateContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WindowsUpdate
Public NotInheritable Class WindowsUpdate
Inheritance
Object Platform::Object IInspectable WindowsUpdate
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.23504.0)
API contract
Windows.Management.Update.WindowsUpdateContract (introduced in v1.0)

Remarks

You can obtain a WindowsUpdate from WindowsUpdateManager via various event callbacks.

Or you can obtain one from WindowsUpdateAdministrator via the GetUpdates method.

Properties

ActionProgress

Gets the underlying WindowsUpdateActionProgress associated with the WindowsUpdate object.

ActionResult

Gets the underlying WindowsUpdateActionResult associated with the WindowsUpdate object.

AttentionRequiredInfo

Gets the underlying WindowsUpdateAttentionRequiredInfo associated with the WindowsUpdate object.

CurrentAction

Gets the current action that the WindowsUpdate object is in the process of.

Deadline

Gets the underlying deadline associated with the WindowsUpdate object.

Description

Gets the underlying description metadata string associated with the WindowsUpdate object.

EulaText

Gets the underlying End-User License Agreement (EULA) text associated with the WindowsUpdate object.

IsCritical

Indicates whether the WindowsUpdate object is classified as critical.

IsDriver

Indicates whether the WindowsUpdate object is classified as a driver update.

IsEulaAccepted

Indicates whether the End-User License Agreement (EULA) has been accepted for the WindowsUpdate object.

IsFeatureUpdate

Indicates whether the WindowsUpdate object is classified as a feature update.

IsForOS

Indicates whether the WindowsUpdate object is classified as being for the OS.

IsMandatory

Indicates whether the WindowsUpdate object is classified as mandatory.

IsMinorImpact

Indicates whether the WindowsUpdate object is classified as minor impact.

IsSecurity

Indicates whether the WindowsUpdate object is classified as a security update.

IsSeeker

Indicates whether the WindowsUpdate object is classified as seeker.

IsUrgent

Indicates whether the WindowsUpdate object is classified as urgent.

MoreInfoUrl

Gets the underlying more info URL associated with the WindowsUpdate object.

ProviderId

Gets the provider ID associated with the WindowsUpdate object.

SupportUrl

Gets the underlying support URL associated with the WindowsUpdate object.

Title

Gets the title for the WindowsUpdate object.

UpdateId

Gets the update ID associated with the WindowsUpdate object.

Methods

AcceptEula()

Accepts the End-User License Agreement (EULA) associated with the WindowsUpdate object.

GetPropertyValue(String)

Retrieves the underlying property value of a given name associated with the WindowsUpdate object metadata.

Applies to