Class StopPlugin
Implementation of the StopPlugin command
Inherited Members
Namespace: DuetControlServer.Commands
Assembly: DuetControlServer.dll
Syntax
public sealed class StopPlugin : StopPlugin
Properties
StoppingAll
This is set to true if all the plugins are supposed to be stopped
Declaration
[JsonIgnore]
public bool StoppingAll { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
Execute()
Stop a plugin
Declaration
public override Task Execute()
Returns
| Type | Description |
|---|---|
| Task | Asynchronous task |
Overrides
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Plugin is invalid |