Export (0) Print
Expand All

ThreadPool.BindHandle Method

Binds an operating system handle to the ThreadPool.

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

Parameters

osHandle
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.

Exceptions

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

Requirements

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

Show:
© 2014 Microsoft