Export (0) Print
Expand All

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

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 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

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

Community Additions

ADD
Show:
© 2014 Microsoft