WindowsUpdateRestartRequestOptions Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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.