ThreadPoolBoundHandle

E697535

ThreadPoolBoundHandle is a .NET threading type that represents a handle bound to the thread pool, enabling efficient asynchronous I/O operations using overlapped I/O.

All labels observed (3)

How this entity was disambiguated

Statements (43)

Predicate Object
instanceOf .NET type
System.Threading type
class
definedInAssembly System.Threading.Overlapped.dll
designGoal provide safe wrapper over native overlapped structures
reduce overhead of binding OS handles to the thread pool
documentationUrl https://learn.microsoft.com/dotnet/api/system.threading.threadpoolboundhandle
errorCondition throws ArgumentException when handle is invalid or not overlapped-capable
throws ArgumentNullException when handle is null in BindHandle
hasMethod AllocateNativeOverlapped(IOCompletionCallback callback, object state, byte[] pinData)
AllocateNativeOverlapped(PreAllocatedOverlapped preAllocated)
BindHandle(IntPtr handle)
BindHandle(SafeHandle handle)
Dispose()
FreeNativeOverlapped(NativeOverlapped* overlapped)
hasProperty Handle
implements System.IDisposable
introducedIn .NET Core 1.0
linked to: .NET Core

.NET Framework 4
linked to: .NET Framework
isDisposable true
isPublic true
isSealed true
lifecycle must be disposed to release bound handle resources
namespace System.Threading
platform Windows-focused overlapped I/O
propertyType Handle: System.Runtime.InteropServices.SafeHandle
purpose enables efficient asynchronous I/O operations
represents a handle bound to the thread pool
relatedTo I/O completion ports
NativeOverlapped
Overlapped
ThreadPool
requires handle must be opened for overlapped I/O
handle must be suitable for I/O completion ports
security demands appropriate permissions to access underlying handle
supports overlapped I/O
threadSafety instance members are not guaranteed to be thread-safe
members are thread-safe for static operations
usagePattern created by binding an existing OS handle to the thread pool
used with overlapped I/O callbacks
usedFor file I/O completion callbacks
named pipe asynchronous operations
socket I/O completion callbacks

How these facts were elicited

Referenced by (4)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Threading containsType ThreadPoolBoundHandle
PreAllocatedOverlapped relatedTo ThreadPoolBoundHandle
PreAllocatedOverlapped usedWith ThreadPoolBoundHandle.AllocateNativeOverlapped(PreAllocatedOverlapped)
linked to: ThreadPoolBoundHandle
IOCompletionCallback usedWith ThreadPool.BindHandle
linked to: ThreadPoolBoundHandle