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
errorCodeintA 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
AddressInUse
Can be used to match a GException with the "AddressInUse" code (14).
public static DBusError AddressInUse { get; }
Property Value
AdtAuditDataUnknown
Can be used to match a GException with the "AdtAuditDataUnknown" code (39).
public static DBusError AdtAuditDataUnknown { get; }
Property Value
Any
Can be used to match a GException with any error code of the "DBusError" error-domain.
public static Quark Any { get; }
Property Value
AuthFailed
Can be used to match a GException with the "AuthFailed" code (10).
public static DBusError AuthFailed { get; }
Property Value
BadAddress
Can be used to match a GException with the "BadAddress" code (6).
public static DBusError BadAddress { get; }
Property Value
Disconnected
Can be used to match a GException with the "Disconnected" code (15).
public static DBusError Disconnected { get; }
Property Value
Failed
Can be used to match a GException with the "Failed" code (0).
public static DBusError Failed { get; }
Property Value
FileExists
Can be used to match a GException with the "FileExists" code (18).
public static DBusError FileExists { get; }
Property Value
FileNotFound
Can be used to match a GException with the "FileNotFound" code (17).
public static DBusError FileNotFound { get; }
Property Value
InvalidArgs
Can be used to match a GException with the "InvalidArgs" code (16).
public static DBusError InvalidArgs { get; }
Property Value
InvalidFileContent
Can be used to match a GException with the "InvalidFileContent" code (37).
public static DBusError InvalidFileContent { get; }
Property Value
InvalidSignature
Can be used to match a GException with the "InvalidSignature" code (36).
public static DBusError InvalidSignature { get; }
Property Value
IoError
Can be used to match a GException with the "IoError" code (5).
public static DBusError IoError { get; }
Property Value
LimitsExceeded
Can be used to match a GException with the "LimitsExceeded" code (8).
public static DBusError LimitsExceeded { get; }
Property Value
MatchRuleInvalid
Can be used to match a GException with the "MatchRuleInvalid" code (22).
public static DBusError MatchRuleInvalid { get; }
Property Value
MatchRuleNotFound
Can be used to match a GException with the "MatchRuleNotFound" code (21).
public static DBusError MatchRuleNotFound { get; }
Property Value
NameHasNoOwner
Can be used to match a GException with the "NameHasNoOwner" code (3).
public static DBusError NameHasNoOwner { get; }
Property Value
NoMemory
Can be used to match a GException with the "NoMemory" code (1).
public static DBusError NoMemory { get; }
Property Value
NoNetwork
Can be used to match a GException with the "NoNetwork" code (13).
public static DBusError NoNetwork { get; }
Property Value
NoReply
Can be used to match a GException with the "NoReply" code (4).
public static DBusError NoReply { get; }
Property Value
NoServer
Can be used to match a GException with the "NoServer" code (11).
public static DBusError NoServer { get; }
Property Value
NotSupported
Can be used to match a GException with the "NotSupported" code (7).
public static DBusError NotSupported { get; }
Property Value
ObjectPathInUse
Can be used to match a GException with the "ObjectPathInUse" code (40).
public static DBusError ObjectPathInUse { get; }
Property Value
PropertyReadOnly
Can be used to match a GException with the "PropertyReadOnly" code (44).
public static DBusError PropertyReadOnly { get; }
Property Value
SelinuxSecurityContextUnknown
Can be used to match a GException with the "SelinuxSecurityContextUnknown" code (38).
public static DBusError SelinuxSecurityContextUnknown { get; }
Property Value
ServiceUnknown
Can be used to match a GException with the "ServiceUnknown" code (2).
public static DBusError ServiceUnknown { get; }
Property Value
SpawnChildExited
Can be used to match a GException with the "SpawnChildExited" code (25).
public static DBusError SpawnChildExited { get; }
Property Value
SpawnChildSignaled
Can be used to match a GException with the "SpawnChildSignaled" code (26).
public static DBusError SpawnChildSignaled { get; }
Property Value
SpawnConfigInvalid
Can be used to match a GException with the "SpawnConfigInvalid" code (29).
public static DBusError SpawnConfigInvalid { get; }
Property Value
SpawnExecFailed
Can be used to match a GException with the "SpawnExecFailed" code (23).
public static DBusError SpawnExecFailed { get; }
Property Value
SpawnFailed
Can be used to match a GException with the "SpawnFailed" code (27).
public static DBusError SpawnFailed { get; }
Property Value
SpawnFileInvalid
Can be used to match a GException with the "SpawnFileInvalid" code (33).
public static DBusError SpawnFileInvalid { get; }
Property Value
SpawnForkFailed
Can be used to match a GException with the "SpawnForkFailed" code (24).
public static DBusError SpawnForkFailed { get; }
Property Value
SpawnNoMemory
Can be used to match a GException with the "SpawnNoMemory" code (34).
public static DBusError SpawnNoMemory { get; }
Property Value
SpawnPermissionsInvalid
Can be used to match a GException with the "SpawnPermissionsInvalid" code (32).
public static DBusError SpawnPermissionsInvalid { get; }
Property Value
SpawnServiceInvalid
Can be used to match a GException with the "SpawnServiceInvalid" code (30).
public static DBusError SpawnServiceInvalid { get; }
Property Value
SpawnServiceNotFound
Can be used to match a GException with the "SpawnServiceNotFound" code (31).
public static DBusError SpawnServiceNotFound { get; }
Property Value
SpawnSetupFailed
Can be used to match a GException with the "SpawnSetupFailed" code (28).
public static DBusError SpawnSetupFailed { get; }
Property Value
TimedOut
Can be used to match a GException with the "TimedOut" code (20).
public static DBusError TimedOut { get; }
Property Value
Timeout
Can be used to match a GException with the "Timeout" code (12).
public static DBusError Timeout { get; }
Property Value
UnixProcessIdUnknown
Can be used to match a GException with the "UnixProcessIdUnknown" code (35).
public static DBusError UnixProcessIdUnknown { get; }
Property Value
UnknownInterface
Can be used to match a GException with the "UnknownInterface" code (42).
public static DBusError UnknownInterface { get; }
Property Value
UnknownMethod
Can be used to match a GException with the "UnknownMethod" code (19).
public static DBusError UnknownMethod { get; }
Property Value
UnknownObject
Can be used to match a GException with the "UnknownObject" code (41).
public static DBusError UnknownObject { get; }
Property Value
UnknownProperty
Can be used to match a GException with the "UnknownProperty" code (43).
public static DBusError UnknownProperty { get; }
Property Value
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)