Pool Bound Handle. Bind Handle(SafeHandle) Method
Returns a ThreadPoolBoundHandle for the specified handle, which is bound to the system thread pool.
public: static System::Threading::ThreadPoolBoundHandle ^ BindHandle(System::Runtime::InteropServices::SafeHandle ^ handle);
[System.Security.SecurityCritical] public static System.Threading.ThreadPoolBoundHandle BindHandle (System.Runtime.InteropServices.SafeHandle handle);
static member BindHandle : System.Runtime.InteropServices.SafeHandle -> System.Threading.ThreadPoolBoundHandle
Public Shared Function BindHandle (handle As SafeHandle) As ThreadPoolBoundHandle
An object that holds the operating system handle. The handle must have been opened for overlapped I/O in unmanaged code.
handle has been disposed.
handle does not refer to a valid I/O handle.
handle refers to a handle that has not been opened for overlapped I/O.
handle refers to a handle that has already been bound.
This method should be called once per handle.