Class ThreadPoolHandle
public abstract class ThreadPoolHandle : SafeHandle, IDisposable
- Inheritance
-
ThreadPoolHandle
- Implements
- Derived
- Inherited Members
Constructors
ThreadPoolHandle(bool)
protected ThreadPoolHandle(bool ownsHandle)
Parameters
ownsHandlebool
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
Methods
Equals(ThreadPoolHandle?)
public bool Equals(ThreadPoolHandle? other)
Parameters
otherThreadPoolHandle
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetExclusive()
public bool GetExclusive()
Returns
GetFunc()
public Func GetFunc()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetUserData()
public nint GetUserData()
Returns
SetExclusive(bool)
public void SetExclusive(bool value)
Parameters
valuebool
SetFunc(Func)
public void SetFunc(Func value)
Parameters
valueFunc
SetUserData(nint)
public void SetUserData(nint value)
Parameters
valuenint