Table of Contents

Class DefaultAppException

Namespace
ZeroInstall.DesktopIntegration.Windows
Assembly
ZeroInstall.DesktopIntegration.dll

Indicates that the OS denied changing the Default App for a file type or URL protocol programmatically.

public sealed class DefaultAppException : IOException, ISerializable
Inheritance
object
DefaultAppException
Implements
Inherited Members

Constructors

DefaultAppException()

Initializes a new instance of the IOException class with its message string set to the empty string (""), its HRESULT set to COR_E_IO, and its inner exception set to a null reference.

public DefaultAppException()

DefaultAppException(string)

Initializes a new instance of the IOException class with its message string set to message, its HRESULT set to COR_E_IO, and its inner exception set to null.

public DefaultAppException(string message)

Parameters

message string

A string that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

DefaultAppException(string, Exception)

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

public DefaultAppException(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 null, the current exception is raised in a catch block that handles the inner exception.