Table of Contents

Struct DBusError

Namespace
Gio
Assembly
Gio-2.0.dll

Contains all error codes of the DBusError error-domain.

public readonly ref struct DBusError
Inherited Members

Constructors

DBusError(int)

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

public DBusError(int errorCode)

Parameters

errorCode int

A specific error code of the domain

Properties

AccessDenied

Can be used to match a GException with the "AccessDenied" code (9).

public static DBusError AccessDenied { get; }

Property Value

DBusError

AddressInUse

Can be used to match a GException with the "AddressInUse" code (14).

public static DBusError AddressInUse { get; }

Property Value

DBusError

AdtAuditDataUnknown

Can be used to match a GException with the "AdtAuditDataUnknown" code (39).

public static DBusError AdtAuditDataUnknown { get; }

Property Value

DBusError

Any

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

public static Quark Any { get; }

Property Value

Quark

AuthFailed

Can be used to match a GException with the "AuthFailed" code (10).

public static DBusError AuthFailed { get; }

Property Value

DBusError

BadAddress

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

public static DBusError BadAddress { get; }

Property Value

DBusError

Disconnected

Can be used to match a GException with the "Disconnected" code (15).

public static DBusError Disconnected { get; }

Property Value

DBusError

Failed

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

public static DBusError Failed { get; }

Property Value

DBusError

FileExists

Can be used to match a GException with the "FileExists" code (18).

public static DBusError FileExists { get; }

Property Value

DBusError

FileNotFound

Can be used to match a GException with the "FileNotFound" code (17).

public static DBusError FileNotFound { get; }

Property Value

DBusError

InvalidArgs

Can be used to match a GException with the "InvalidArgs" code (16).

public static DBusError InvalidArgs { get; }

Property Value

DBusError

InvalidFileContent

Can be used to match a GException with the "InvalidFileContent" code (37).

public static DBusError InvalidFileContent { get; }

Property Value

DBusError

InvalidSignature

Can be used to match a GException with the "InvalidSignature" code (36).

public static DBusError InvalidSignature { get; }

Property Value

DBusError

IoError

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

public static DBusError IoError { get; }

Property Value

DBusError

LimitsExceeded

Can be used to match a GException with the "LimitsExceeded" code (8).

public static DBusError LimitsExceeded { get; }

Property Value

DBusError

MatchRuleInvalid

Can be used to match a GException with the "MatchRuleInvalid" code (22).

public static DBusError MatchRuleInvalid { get; }

Property Value

DBusError

MatchRuleNotFound

Can be used to match a GException with the "MatchRuleNotFound" code (21).

public static DBusError MatchRuleNotFound { get; }

Property Value

DBusError

NameHasNoOwner

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

public static DBusError NameHasNoOwner { get; }

Property Value

DBusError

NoMemory

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

public static DBusError NoMemory { get; }

Property Value

DBusError

NoNetwork

Can be used to match a GException with the "NoNetwork" code (13).

public static DBusError NoNetwork { get; }

Property Value

DBusError

NoReply

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

public static DBusError NoReply { get; }

Property Value

DBusError

NoServer

Can be used to match a GException with the "NoServer" code (11).

public static DBusError NoServer { get; }

Property Value

DBusError

NotSupported

Can be used to match a GException with the "NotSupported" code (7).

public static DBusError NotSupported { get; }

Property Value

DBusError

ObjectPathInUse

Can be used to match a GException with the "ObjectPathInUse" code (40).

public static DBusError ObjectPathInUse { get; }

Property Value

DBusError

PropertyReadOnly

Can be used to match a GException with the "PropertyReadOnly" code (44).

public static DBusError PropertyReadOnly { get; }

Property Value

DBusError

SelinuxSecurityContextUnknown

Can be used to match a GException with the "SelinuxSecurityContextUnknown" code (38).

public static DBusError SelinuxSecurityContextUnknown { get; }

Property Value

DBusError

ServiceUnknown

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

public static DBusError ServiceUnknown { get; }

Property Value

DBusError

SpawnChildExited

Can be used to match a GException with the "SpawnChildExited" code (25).

public static DBusError SpawnChildExited { get; }

Property Value

DBusError

SpawnChildSignaled

Can be used to match a GException with the "SpawnChildSignaled" code (26).

public static DBusError SpawnChildSignaled { get; }

Property Value

DBusError

SpawnConfigInvalid

Can be used to match a GException with the "SpawnConfigInvalid" code (29).

public static DBusError SpawnConfigInvalid { get; }

Property Value

DBusError

SpawnExecFailed

Can be used to match a GException with the "SpawnExecFailed" code (23).

public static DBusError SpawnExecFailed { get; }

Property Value

DBusError

SpawnFailed

Can be used to match a GException with the "SpawnFailed" code (27).

public static DBusError SpawnFailed { get; }

Property Value

DBusError

SpawnFileInvalid

Can be used to match a GException with the "SpawnFileInvalid" code (33).

public static DBusError SpawnFileInvalid { get; }

Property Value

DBusError

SpawnForkFailed

Can be used to match a GException with the "SpawnForkFailed" code (24).

public static DBusError SpawnForkFailed { get; }

Property Value

DBusError

SpawnNoMemory

Can be used to match a GException with the "SpawnNoMemory" code (34).

public static DBusError SpawnNoMemory { get; }

Property Value

DBusError

SpawnPermissionsInvalid

Can be used to match a GException with the "SpawnPermissionsInvalid" code (32).

public static DBusError SpawnPermissionsInvalid { get; }

Property Value

DBusError

SpawnServiceInvalid

Can be used to match a GException with the "SpawnServiceInvalid" code (30).

public static DBusError SpawnServiceInvalid { get; }

Property Value

DBusError

SpawnServiceNotFound

Can be used to match a GException with the "SpawnServiceNotFound" code (31).

public static DBusError SpawnServiceNotFound { get; }

Property Value

DBusError

SpawnSetupFailed

Can be used to match a GException with the "SpawnSetupFailed" code (28).

public static DBusError SpawnSetupFailed { get; }

Property Value

DBusError

TimedOut

Can be used to match a GException with the "TimedOut" code (20).

public static DBusError TimedOut { get; }

Property Value

DBusError

Timeout

Can be used to match a GException with the "Timeout" code (12).

public static DBusError Timeout { get; }

Property Value

DBusError

UnixProcessIdUnknown

Can be used to match a GException with the "UnixProcessIdUnknown" code (35).

public static DBusError UnixProcessIdUnknown { get; }

Property Value

DBusError

UnknownInterface

Can be used to match a GException with the "UnknownInterface" code (42).

public static DBusError UnknownInterface { get; }

Property Value

DBusError

UnknownMethod

Can be used to match a GException with the "UnknownMethod" code (19).

public static DBusError UnknownMethod { get; }

Property Value

DBusError

UnknownObject

Can be used to match a GException with the "UnknownObject" code (41).

public static DBusError UnknownObject { get; }

Property Value

DBusError

UnknownProperty

Can be used to match a GException with the "UnknownProperty" code (43).

public static DBusError UnknownProperty { get; }

Property Value

DBusError

Operators

implicit operator ErrorCode(DBusError)

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

public static implicit operator ErrorCode(DBusError e)

Parameters

e DBusError

Returns

ErrorCode