Class ThreadPoolHandle
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
Methods
Equals(ThreadPoolHandle?)
public bool Equals(ThreadPoolHandle? other)
Parameters
other
ThreadPoolHandle
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
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
value
bool
SetFunc(Func)
public void SetFunc(Func value)
Parameters
value
Func
SetUserData(nint)
public void SetUserData(nint value)
Parameters
value
nint