Class UninstallSystemPackage
- Namespace
- DuetControlServer.Commands
- Assembly
- DuetControlServer.dll
Implementation of the UninstallSystemPackage command
public sealed class UninstallSystemPackage : UninstallSystemPackage
- Inheritance
-
UninstallSystemPackage
- Inherited Members
Constructors
UninstallSystemPackage(IOptions<Settings>)
Implementation of the UninstallSystemPackage command
public UninstallSystemPackage(IOptions<Settings> settings)
Parameters
Methods
ExecuteAsync(CancellationToken)
Uninstall a system package
public override Task ExecuteAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenOptional cancellation token
Returns
- Task
Asynchronous task
Exceptions
- ArgumentException
Package could not be uninstalled