Class StopPlugin
Implementation of the StopPlugin command
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|
System.Boolean |
Methods
Execute()
Stop a plugin
Declaration
public override async Task Execute()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | Asynchronous task |
Overrides
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Plugin is invalid |