ThreadPoolBoundHandle ThreadPoolBoundHandle ThreadPoolBoundHandle ThreadPoolBoundHandle Class

定義

システムのスレッド プールにバインドし、低レベルのコンポーネントが非同期 I/O 操作の通知を受信できるようにする I/O ハンドルを表します。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
継承
ThreadPoolBoundHandleThreadPoolBoundHandleThreadPoolBoundHandleThreadPoolBoundHandle
実装

プロパティ

Handle Handle Handle Handle

バインドされているオペレーティング システム ハンドルを取得します。Gets the bound operating system handle.

メソッド

AllocateNativeOverlapped(IOCompletionCallback, Object, Object) AllocateNativeOverlapped(IOCompletionCallback, Object, Object) AllocateNativeOverlapped(IOCompletionCallback, Object, Object) AllocateNativeOverlapped(IOCompletionCallback, Object, Object)

アンマネージド ポインターを NativeOverlapped 構造体に返し、各非同期 I/O 操作が完了したときに呼び出されるデリゲート、コンテキストを提供するユーザー指定のオブジェクト、およびバッファーとして機能するマネージド オブジェクトを指定します。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) AllocateNativeOverlapped(PreAllocatedOverlapped) AllocateNativeOverlapped(PreAllocatedOverlapped) AllocateNativeOverlapped(PreAllocatedOverlapped)

指定した PreAllocatedOverlapped オブジェクトに関連付けられているコールバック状態とバッファーを使用して、アンマネージ ポインターを NativeOverlapped 構造体に返します。Returns an unmanaged pointer to a NativeOverlapped structure using the callback state and buffers associated with the specified PreAllocatedOverlapped object.

BindHandle(SafeHandle) BindHandle(SafeHandle) BindHandle(SafeHandle) BindHandle(SafeHandle)

指定したハンドルに対し、ThreadPoolBoundHandle が返され、システム スレッド プールにバインドされます。Returns a ThreadPoolBoundHandle for the specified handle, which is bound to the system thread pool.

Dispose() Dispose() Dispose() Dispose()

ThreadPoolBoundHandle インスタンスによって使用されているすべてのアンマネージ リソースを解放します。Releases all unmanaged resources used by the ThreadPoolBoundHandle instance.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

指定したオブジェクトが、現在のオブジェクトと等しいかどうかを判断します。Determines whether the specified object is equal to the current object.

(Inherited from Object)
FreeNativeOverlapped(NativeOverlapped*) FreeNativeOverlapped(NativeOverlapped*) FreeNativeOverlapped(NativeOverlapped*) FreeNativeOverlapped(NativeOverlapped*)

AllocateNativeOverlapped メソッドによって割り当てられた NativeOverlapped 構造体と関連付けられたメモリを解放します。Frees the memory associated with a NativeOverlapped structure allocated by the AllocateNativeOverlapped method.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

既定のハッシュ関数として機能します。Serves as the default hash function.

(Inherited from Object)
GetNativeOverlappedState(NativeOverlapped*) GetNativeOverlappedState(NativeOverlapped*) GetNativeOverlappedState(NativeOverlapped*) GetNativeOverlappedState(NativeOverlapped*)

AllocateNativeOverlapped(IOCompletionCallback, Object, Object) メソッドを呼び出して、NativeOverlapped インスタンスが割り当てられると、指定されたユーザー指定のオブジェクトが返されます。Returns the user-provided object that was specified when the NativeOverlapped instance was allocated by calling the AllocateNativeOverlapped(IOCompletionCallback, Object, Object) method.

GetType() GetType() GetType() GetType()

現在のインスタンスの Type を取得します。Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

現在の Object の簡易コピーを作成します。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

現在のオブジェクトを表す文字列を返します。Returns a string that represents the current object.

(Inherited from Object)

適用対象