ThreadPool.BindHandle Method (IntPtr)

NOTE: This method is now obsolete.

Binds an operating system handle to the ThreadPool.

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)

[ObsoleteAttribute("ThreadPool.BindHandle(IntPtr) has been deprecated.  Please use ThreadPool.BindHandle(SafeHandle) instead.", false)] 
public static bool BindHandle (
	IntPtr osHandle
)
/** @attribute ObsoleteAttribute("ThreadPool.BindHandle(IntPtr) has been deprecated.  Please use ThreadPool.BindHandle(SafeHandle) instead.", false) */ 
public static boolean BindHandle (
	IntPtr osHandle
)
ObsoleteAttribute("ThreadPool.BindHandle(IntPtr) has been deprecated.  Please use ThreadPool.BindHandle(SafeHandle) instead.", false) 
public static function BindHandle (
	osHandle : IntPtr
) : boolean
Not applicable.

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 if the handle is bound; otherwise, false.

Exception typeCondition

SecurityException

The caller does not have the required permission.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 1.0, 1.1, 2.0
Obsolete (compiler warning) in 3.0

Community Additions

ADD
Show: