Class UninstallPlugin
Implementation of the UninstallPlugin command
Implements
Inherited Members
Namespace: DuetControlServer.Commands
Assembly: DuetControlServer.dll
Syntax
public sealed class UninstallPlugin : UninstallPlugin, IConnectionCommand
Properties
Connection
Client connection
Declaration
[JsonIgnore]
public Connection? Connection { get; set; }
Property Value
Type | Description |
---|---|
Connection |
ForUpgrade
Internal flag to indicate that custom plugin files should not be purged
Declaration
public bool ForUpgrade { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
Execute()
Uninstall a plugin
Declaration
public override Task Execute()
Returns
Type | Description |
---|---|
Task | Asynchronous task |
Overrides
Exceptions
Type | Condition |
---|---|
ArgumentException | Plugin is invalid |