Delen via


ShutdownManager.CancelShutdown Method

Definition

Cancels a shutdown of a fixed-purpose device that is already in progress.

public:
 static void CancelShutdown();
 static void CancelShutdown();
public static void CancelShutdown();
function cancelShutdown()
Public Shared Sub CancelShutdown ()

Windows requirements

App capabilities
systemManagement

Remarks

This API requires the use of the IoT systemManagement capability, and the inclusion of iot in the IgnorableNamespaces list. Users can add the following to their Package.appmanifest: <iot:Capability Name="systemManagement"/>, and add iot to their existing list of IgnorableNamespaces.

Applies to

See also