WindowsUpdateApprovalData Class

Definition

Allows additional metadata to be configured on an update when approving it via ApproveWindowsUpdate.

public ref class WindowsUpdateApprovalData sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Management.Update.WindowsUpdateContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Management.Update.WindowsUpdateContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class WindowsUpdateApprovalData final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Management.Update.WindowsUpdateContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Management.Update.WindowsUpdateContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class WindowsUpdateApprovalData
function WindowsUpdateApprovalData()
Public NotInheritable Class WindowsUpdateApprovalData
Inheritance
Object Platform::Object IInspectable WindowsUpdateApprovalData
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)

Constructors

WindowsUpdateApprovalData()

Constructs a new WindowsUpdateApprovalData instance with all underlying properties set to default values.

Properties

AllowDownloadOnMetered

Gets or sets a value indicating whether the update is permitted to download over a metered network connection.

ComplianceDeadlineInDays

Gets or sets a value indicating the compliance deadline in days before a reboot must occur in order to complete the update.

ComplianceGracePeriodInDays

Gets or sets a value indicating the compliance grace period in days before a reboot must occur in order to complete the update.

OptOutOfAutoReboot

Gets or sets a value indicating whether the update should opt out of the auto reboot flow.

Seeker

Gets or sets a value indicating whether an update should be treated as seeker.

Applies to