Düzenle

Aracılığıyla paylaş


ThreadPoolBoundHandle Class

Definition

Represents an I/O handle that is bound to the system thread pool and enables low-level components to receive notifications for asynchronous I/O operations.

public ref class ThreadPoolBoundHandle sealed : IDisposable
public sealed class ThreadPoolBoundHandle : IDisposable
type ThreadPoolBoundHandle = class
    interface IDisposable
Public NotInheritable Class ThreadPoolBoundHandle
Implements IDisposable
Inheritance
ThreadPoolBoundHandle
Implements

Properties

Handle

Gets the bound operating system handle.

Methods

AllocateNativeOverlapped(IOCompletionCallback, Object, Object)

Returns an unmanaged pointer to a NativeOverlapped structure, specifying a delegate that is invoked when the asynchronous I/O operation is complete, a user-provided object that supplies context, and managed objects that serve as buffers.

AllocateNativeOverlapped(PreAllocatedOverlapped)

Returns an unmanaged pointer to a NativeOverlapped structure using the callback state and buffers associated with the specified PreAllocatedOverlapped object.

BindHandle(SafeHandle)

Returns a ThreadPoolBoundHandle for the specified handle, which is bound to the system thread pool.

Dispose()

Releases all unmanaged resources used by the ThreadPoolBoundHandle instance.

Equals(Object)

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

(Inherited from Object)
FreeNativeOverlapped(NativeOverlapped*)

Frees the memory associated with a NativeOverlapped structure allocated by the AllocateNativeOverlapped method.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetNativeOverlappedState(NativeOverlapped*)

Returns the user-provided object that was specified when the NativeOverlapped instance was allocated by calling the AllocateNativeOverlapped(IOCompletionCallback, Object, Object) method.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
UnsafeAllocateNativeOverlapped(IOCompletionCallback, Object, Object)

Returns an unmanaged pointer to a NativeOverlapped structure, specifying a delegate that is invoked when the asynchronous I/O operation is complete, a user-provided object providing context, and managed objects that serve as buffers.

Applies to