Table of Contents

Class ThreadPoolHandle

Namespace
GLib.Internal
Assembly
GLib-2.0.dll
public abstract class ThreadPoolHandle : SafeHandle, IDisposable
Inheritance
ThreadPoolHandle
Implements
Derived
Inherited Members

Constructors

ThreadPoolHandle(bool)

protected ThreadPoolHandle(bool ownsHandle)

Parameters

ownsHandle bool

Properties

IsInvalid

When overridden in a derived class, gets a value indicating whether the handle value is invalid.

public override sealed bool IsInvalid { get; }

Property Value

bool

true if the handle value is invalid; otherwise, false.

Methods

Equals(ThreadPoolHandle?)

public bool Equals(ThreadPoolHandle? other)

Parameters

other ThreadPoolHandle

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetExclusive()

public bool GetExclusive()

Returns

bool

GetFunc()

public Func GetFunc()

Returns

Func

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetUserData()

public IntPtr GetUserData()

Returns

IntPtr

SetExclusive(bool)

public void SetExclusive(bool value)

Parameters

value bool

SetFunc(Func)

public void SetFunc(Func value)

Parameters

value Func

SetUserData(IntPtr)

public void SetUserData(IntPtr value)

Parameters

value IntPtr