Class Error
- Namespace
- GLib
- Assembly
- GLib-2.0.dll
public sealed class Error : BoxedRecord, IEquatable<Error>
- Inheritance
-
Error
- Implements
- Inherited Members
Constructors
Error()
public Error()
Error(ErrorOwnedHandle)
public Error(ErrorOwnedHandle handle)
Parameters
handle
ErrorOwnedHandle
Properties
Code
public int Code { get; set; }
Property Value
Handle
public ErrorOwnedHandle Handle { get; }
Property Value
Message
public string? Message { get; set; }
Property Value
Methods
Copy()
public Error Copy()
Returns
Equals(Error?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Error? other)
Parameters
other
ErrorAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
public void Free()
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Matches(Quark, int)
public bool Matches(Quark domain, int code)
Parameters
Returns
NewLiteral(Quark, int, string)
public static Error NewLiteral(Quark domain, int code, string message)
Parameters
Returns
NewValist(Quark, int, string, IntPtr)
[Version("2.22")]
public static Error NewValist(Quark domain, int code, string format, IntPtr args)