Zero Install .NET API 2.20.0
ZeroInstall.DesktopIntegration.ConflictException Class Reference

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

Inheritance diagram for ZeroInstall.DesktopIntegration.ConflictException:

Public Member Functions

 ConflictException ()
 
 ConflictException (string message)
 
 ConflictException (string message, Exception innerException)
 
override void GetObjectData (SerializationInfo info, StreamingContext context)
 

Static Public Member Functions

static ConflictException NewConflict (ConflictData existingEntry, ConflictData newEntry)
 Creates an exception indicating a new desktop integration conflict. More...
 
static ConflictException InnerConflict (params ConflictData[] entries)
 Creates an exception indicating an inner desktop integration conflict. More...
 
static ConflictException ExistingConflict (params ConflictData[] entries)
 Creates an exception indicating an existing desktop integration conflict. More...
 

Properties

IEnumerable< ConflictData >? Entries [get]
 The entries that are in conflict with each other.
 

Detailed Description

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

Member Function Documentation

◆ ExistingConflict()

static ConflictException ZeroInstall.DesktopIntegration.ConflictException.ExistingConflict ( params ConflictData[]  entries)
static

Creates an exception indicating an existing desktop integration conflict.

Parameters
entriesThe entries that are in conflict with each other.

◆ InnerConflict()

static ConflictException ZeroInstall.DesktopIntegration.ConflictException.InnerConflict ( params ConflictData[]  entries)
static

Creates an exception indicating an inner desktop integration conflict.

Parameters
entriesThe entries that are in conflict with each other.

◆ NewConflict()

static ConflictException ZeroInstall.DesktopIntegration.ConflictException.NewConflict ( ConflictData  existingEntry,
ConflictData  newEntry 
)
static

Creates an exception indicating a new desktop integration conflict.

Parameters
existingEntryThe existing entry that is preventing newEntry from being applied.
newEntryThe new entry that is in conflict with existingEntry .

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