Table of Contents

Struct RecentManagerError

Namespace
Gtk
Assembly
Gtk-4.0.dll

Contains all error codes of the RecentManagerError error-domain.

public readonly ref struct RecentManagerError
Inherited Members

Constructors

RecentManagerError(int)

Creates a new error in the RecentManagerError domain with a given error code.

public RecentManagerError(int errorCode)

Parameters

errorCode int

A specific error code of the domain

Properties

Any

Can be used to match a GException with any error code of the "RecentManagerError" error-domain.

public static Quark Any { get; }

Property Value

Quark

InvalidEncoding

Can be used to match a GException with the "InvalidEncoding" code (2).

public static RecentManagerError InvalidEncoding { get; }

Property Value

RecentManagerError

InvalidUri

Can be used to match a GException with the "InvalidUri" code (1).

public static RecentManagerError InvalidUri { get; }

Property Value

RecentManagerError

NotFound

Can be used to match a GException with the "NotFound" code (0).

public static RecentManagerError NotFound { get; }

Property Value

RecentManagerError

NotRegistered

Can be used to match a GException with the "NotRegistered" code (3).

public static RecentManagerError NotRegistered { get; }

Property Value

RecentManagerError

Read

Can be used to match a GException with the "Read" code (4).

public static RecentManagerError Read { get; }

Property Value

RecentManagerError

Unknown

Can be used to match a GException with the "Unknown" code (6).

public static RecentManagerError Unknown { get; }

Property Value

RecentManagerError

Write

Can be used to match a GException with the "Write" code (5).

public static RecentManagerError Write { get; }

Property Value

RecentManagerError

Operators

implicit operator ErrorCode(RecentManagerError)

Converts a RecentManagerError into a ErrorCode which can be used to match a GException.

public static implicit operator ErrorCode(RecentManagerError e)

Parameters

e RecentManagerError

Returns

ErrorCode