Show / Hide Table of Contents

Class UnsuitableInstallBaseException

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

Inheritance
Object
UnsuitableInstallBaseException
Namespace: ZeroInstall.Commands
Assembly: 0install.dll
Syntax
public sealed class UnsuitableInstallBaseException : NotSupportedException

Constructors

UnsuitableInstallBaseException()

Declaration
public UnsuitableInstallBaseException()

UnsuitableInstallBaseException(String)

Declaration
public UnsuitableInstallBaseException(string message)
Parameters
Type Name Description
String message

UnsuitableInstallBaseException(String, Boolean)

Creates a new unsuitable install base exception.

Declaration
public UnsuitableInstallBaseException(string message, bool needsMachineWide)
Parameters
Type Name Description
String message

A message describing why the current location in unsuitable.

Boolean needsMachineWide

true if a machine-wide location is required; false if a user-specific location will also do.

UnsuitableInstallBaseException(String, Exception)

Declaration
public UnsuitableInstallBaseException(string message, Exception innerException)
Parameters
Type Name Description
String message
Exception innerException

Properties

NeedsMachineWide

true if a machine-wide install location is required; false if a user-specific location will also do.

Declaration
public bool NeedsMachineWide { get; }
Property Value
Type Description
Boolean

Methods

GetObjectData(SerializationInfo, StreamingContext)

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context
In This Article
Back to top Copyright Bastian Eicher et al