Share via


WindowsUpdateRestartRequestOptions Constructors

Definition

Overloads

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.

WindowsUpdateRestartRequestOptions()

Creates a new, generic, instance of WindowsUpdateRestartRequestOptions.

public:
 WindowsUpdateRestartRequestOptions();
 WindowsUpdateRestartRequestOptions();
public WindowsUpdateRestartRequestOptions();
function WindowsUpdateRestartRequestOptions()
Public Sub New ()

Remarks

Before you pass the object to RequestRestart, you must configure Title, Description, MoreInfoUrl, ComplianceDeadlineInDays, and ComplianceGracePeriodInDays.

Applies to

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

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

public:
 WindowsUpdateRestartRequestOptions(Platform::String ^ title, Platform::String ^ description, Uri ^ moreInfoUrl, int complianceDeadlineInDays, int complianceGracePeriodInDays);
 WindowsUpdateRestartRequestOptions(winrt::hstring const& title, winrt::hstring const& description, Uri const& moreInfoUrl, int const& complianceDeadlineInDays, int const& complianceGracePeriodInDays);
public WindowsUpdateRestartRequestOptions(string title, string description, System.Uri moreInfoUrl, int complianceDeadlineInDays, int complianceGracePeriodInDays);
function WindowsUpdateRestartRequestOptions(title, description, moreInfoUrl, complianceDeadlineInDays, complianceGracePeriodInDays)
Public Sub New (title As String, description As String, moreInfoUrl As Uri, complianceDeadlineInDays As Integer, complianceGracePeriodInDays As Integer)

Parameters

title
String

Platform::String

winrt::hstring

The title of the update.

description
String

Platform::String

winrt::hstring

Description metadata that gives more detailed information about an update.

moreInfoUrl
Uri Uri

A URL that links to detailed information regarding the update.

complianceDeadlineInDays
Int32

int

Indicates the compliance deadline in days before a reboot must occur in order to complete the update.

complianceGracePeriodInDays
Int32

int

Indicates the compliance grace period in days before a reboot must occur in order to complete the update.

Applies to