Table of Contents

Class ConflictException

Namespace
ZeroInstall.DesktopIntegration
Assembly
ZeroInstall.DesktopIntegration.dll

Indicates a desktop integration operation could not be completed due to conflicting AccessPoints.

public sealed class ConflictException : InvalidOperationException, ISerializable
Inheritance
ConflictException
Implements
Inherited Members

Constructors

ConflictException()

Initializes a new instance of the InvalidOperationException class.

public ConflictException()

ConflictException(string)

Initializes a new instance of the InvalidOperationException class with a specified error message.

public ConflictException(string message)

Parameters

message string

The message that describes the error.

ConflictException(string, Exception)

Initializes a new instance of the InvalidOperationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public ConflictException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

Properties

Entries

The entries that are in conflict with each other.

public IEnumerable<ConflictData>? Entries { get; }

Property Value

IEnumerable<ConflictData>

Methods

ExistingConflict(params ConflictData[])

Creates an exception indicating an existing desktop integration conflict.

public static ConflictException ExistingConflict(params ConflictData[] entries)

Parameters

entries ConflictData[]

The entries that are in conflict with each other.

Returns

ConflictException

InnerConflict(params ConflictData[])

Creates an exception indicating an inner desktop integration conflict.

public static ConflictException InnerConflict(params ConflictData[] entries)

Parameters

entries ConflictData[]

The entries that are in conflict with each other.

Returns

ConflictException

NewConflict(ConflictData, ConflictData)

Creates an exception indicating a new desktop integration conflict.

public static ConflictException NewConflict(ConflictData existingEntry, ConflictData newEntry)

Parameters

existingEntry ConflictData

The existing entry that is preventing newEntry from being applied.

newEntry ConflictData

The new entry that is in conflict with existingEntry.

Returns

ConflictException