Zero Install .NET API 2.20.0
ZeroInstall.Commands.UnsuitableInstallBaseException Class Reference

Indicates that the current Locations.InstallBase is unsuitable for the desired operation. More...

Inheritance diagram for ZeroInstall.Commands.UnsuitableInstallBaseException:

Public Member Functions

 UnsuitableInstallBaseException ()
 
 UnsuitableInstallBaseException (string message)
 
 UnsuitableInstallBaseException (string message, bool needsMachineWide)
 Creates a new unsuitable install base exception. More...
 
 UnsuitableInstallBaseException (string message, Exception innerException)
 
override void GetObjectData (SerializationInfo info, StreamingContext context)
 

Properties

bool NeedsMachineWide [get]
 true if a machine-wide install location is required; false if a user-specific location will also do.
 

Detailed Description

Indicates that the current Locations.InstallBase is unsuitable for the desired operation.

Constructor & Destructor Documentation

◆ UnsuitableInstallBaseException()

ZeroInstall.Commands.UnsuitableInstallBaseException.UnsuitableInstallBaseException ( string  message,
bool  needsMachineWide 
)
inline

Creates a new unsuitable install base exception.

Parameters
messageA message describing why the current location in unsuitable.
needsMachineWidetrue if a machine-wide location is required; false if a user-specific location will also do.

The documentation for this class was generated from the following file: