Table of Contents

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

settings IOptions<Settings>

Settings

Methods

ExecuteAsync(CancellationToken)

Uninstall a system package

public override Task ExecuteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Optional cancellation token

Returns

Task

Asynchronous task

Exceptions

ArgumentException

Package could not be uninstalled