This documentation is archived and is not being maintained.

ThreadPool.BindHandle Method

Binds an operating system handle to the ThreadPool.

[Visual Basic]
Public Shared Function BindHandle( _
   ByVal osHandle As IntPtr _
) As Boolean
public static bool BindHandle(
 IntPtr osHandle
public: static bool BindHandle(
 IntPtr osHandle
public static function BindHandle(
   osHandle : IntPtr
) : Boolean;


An IntPtr that holds the handle. The handle must have been opened for overlapped I/O on the unmanaged side.

Return Value

true to bind the handle; otherwise, false.


Exception Type Condition
SecurityException The caller does not have the required permission.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

ThreadPool Class | ThreadPool Members | System.Threading Namespace