Struct ThreadError
- Namespace
- GLib
- Assembly
- GLib-2.0.dll
Contains all error codes of the ThreadError error-domain.
public readonly ref struct ThreadError
- Inherited Members
Constructors
ThreadError(int)
Creates a new error in the ThreadError domain with a given error code.
public ThreadError(int errorCode)
Parameters
errorCodeintA specific error code of the domain
Properties
Any
Can be used to match a GException with any error code of the "ThreadError" error-domain.
public static Quark Any { get; }
Property Value
ThreadErrorAgain
Can be used to match a GException with the "ThreadErrorAgain" code (0).
public static ThreadError ThreadErrorAgain { get; }
Property Value
Operators
implicit operator ErrorCode(ThreadError)
Converts a ThreadError into a ErrorCode which can be used to match a GException.
public static implicit operator ErrorCode(ThreadError e)