Share via


WindowsUpdateRestartRequestOptions Class

Definition

Represents a property bag of fields that can be configured, and then passed to RequestRestart.

public ref class WindowsUpdateRestartRequestOptions sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Management.Update.IWindowsUpdateRestartRequestOptionsFactory, 65536, "Windows.Management.Update.WindowsUpdateContract")]
/// [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 WindowsUpdateRestartRequestOptions final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Management.Update.IWindowsUpdateRestartRequestOptionsFactory), 65536, "Windows.Management.Update.WindowsUpdateContract")]
[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 WindowsUpdateRestartRequestOptions
function WindowsUpdateRestartRequestOptions(title, description, moreInfoUrl, complianceDeadlineInDays, complianceGracePeriodInDays)
Public NotInheritable Class WindowsUpdateRestartRequestOptions
Inheritance
Object Platform::Object IInspectable WindowsUpdateRestartRequestOptions
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

WindowsUpdateRestartRequestOptions()

Creates a new, generic, instance of WindowsUpdateRestartRequestOptions.

WindowsUpdateRestartRequestOptions(String, String, Uri, Int32, Int32)

Creates a new instance of WindowsUpdateRestartRequestOptions, with all required properties set for use.

Properties

ComplianceDeadlineInDays

Gets or sets a value that indicates 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.

Description

Gets or sets description metadata that gives more detailed information about an update.

MoreInfoUrl

Gets or sets a URL that links to detailed information regarding the update.

OptOutOfAutoReboot

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

OrganizationName

Gets or sets a value indicating the organization name associated with the update restart request.

Title

Gets or sets the title of the update.

Applies to