Class RemoveAllApps
- Namespace
 - ZeroInstall.Commands.Desktop
 
- Assembly
 - 0install.dll
 
Removes all applications from the AppList and undoes any desktop environment integration.
public class RemoveAllApps : IntegrationCommand
  - Inheritance
 - 
      
      
      
      
      
      RemoveAllApps
 
- Inherited Members
 
Constructors
RemoveAllApps(ICommandHandler)
Removes all applications from the AppList and undoes any desktop environment integration.
public RemoveAllApps(ICommandHandler handler)
  Parameters
handlerICommandHandler
Fields
AltName
public const string AltName = "remove-all-apps"
  Field Value
Name
public const string Name = "remove-all"
  Field Value
Properties
AdditionalArgsMax
The maximum number of AdditionalArgs allowed. Checked in Parse(IReadOnlyList<string>).
protected override int AdditionalArgsMax { get; }
  Property Value
Description
A short description of what this command does.
public override string Description { get; }
  Property Value
Usage
The additional arguments to be displayed after the command name in the help text.
public override string Usage { get; }
  Property Value
Methods
Execute()
Executes the commands specified by the command-line arguments. Must call Parse(IReadOnlyList<string>) first!
public override ExitCode Execute()
  Returns
- ExitCode
 The exit status code to end the process with.
Remarks
When inheriting this method is usually replaced.
Exceptions
- OperationCanceledException
 The user canceled the task.
- OptionException
 The number of arguments passed in on the command-line is incorrect.
- WebException
 A file could not be downloaded from the internet.
- NotSupportedException
 A file format, protocol, etc. is unknown or not supported.
- IOException
 A downloaded file could not be written to the disk or extracted or an external application or file required by the solver could not be accessed.
- UnauthorizedAccessException
 An operation failed due to insufficient rights.
- InvalidDataException
 A problem occurred while deserializing an XML file.
- SignatureException
 The signature data could not be handled for some reason.
- FormatException
 An URI, local path, version number, etc. is invalid.
- DigestMismatchException
 An Implementation's Archives don't match the associated ManifestDigest.
- SolverException
 The ISolver was unable to provide Selections that fulfill the Requirements.
- ImplementationNotFoundException
 One of the ImplementationBases is not cached yet.
- ExecutorException
 The IExecutor was unable to process the Selections.