diff --git a/docs/nefarius.utilities.devicemanagement.pnp.pnpdevice.md b/docs/nefarius.utilities.devicemanagement.pnp.pnpdevice.md index d156a70..7397571 100644 --- a/docs/nefarius.utilities.devicemanagement.pnp.pnpdevice.md +++ b/docs/nefarius.utilities.devicemanagement.pnp.pnpdevice.md @@ -361,6 +361,7 @@ public void Remove() #### Exceptions [ConfigManagerException](./nefarius.utilities.devicemanagement.exceptions.configmanagerexception.md)
+CM API failure occurred. **Remarks:** @@ -400,7 +401,7 @@ public void Restart() **Remarks:** -This method removes and re-enumerates (adds) the device note, which might cause unintended side-effects. If +This method removes and re-enumerates (adds) the device note, which might cause unintended side effects. If this is the behaviour you seek, consider using [PnPDevice.RemoveAndSetup()](./nefarius.utilities.devicemanagement.pnp.pnpdevice.md#removeandsetup) instead. This method remains here for backwards compatibility. diff --git a/src/PnP/PnPDevice.cs b/src/PnP/PnPDevice.cs index 5a35bdb..14c62fe 100644 --- a/src/PnP/PnPDevice.cs +++ b/src/PnP/PnPDevice.cs @@ -111,7 +111,7 @@ protected unsafe PnPDevice(string instanceId, DeviceLocationFlags flags) /// force-closed. /// /// - /// This method removes and re-enumerates (adds) the device note, which might cause unintended side-effects. If + /// This method removes and re-enumerates (adds) the device note, which might cause unintended side effects. If /// this is the behaviour you seek, consider using instead. This method remains here for /// backwards compatibility. /// @@ -145,7 +145,7 @@ public unsafe void Restart() /// /// Attempts to remove this device node. /// - /// + /// CM API failure occurred. /// /// This call DOES NOT invoke device and driver uninstall routines, as soon as the device is re-enumerated, it /// will reappear and become online.