WindowsUpdateAdministrator.CancelRestartRequest(String) Method
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.
Cancels a restart that was requested via RequestRestart.
public:
static void CancelRestartRequest(Platform::String ^ requestRestartToken);
static void CancelRestartRequest(winrt::hstring const& requestRestartToken);
public static void CancelRestartRequest(string requestRestartToken);
function cancelRestartRequest(requestRestartToken)
Public Shared Sub CancelRestartRequest (requestRestartToken As String)
Parameters
- requestRestartToken
-
String
Platform::String
winrt::hstring
The identifier associated with the previously requested restart.
Remarks
The token required to cancel a restart request is returned by RequestRestart.