Share via


WindowsUpdateAdministrator.CancelRestartRequest(String) Method

Definition

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.

Applies to