C# Class System.Threading.ThreadPoolBoundHandle

Inheritance: System.IDisposable
显示文件 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
BindHandle ( System handle ) : System.Threading.ThreadPoolBoundHandle
BindHandle ( SafeHandle handle ) : ThreadPoolBoundHandle
Dispose ( ) : void

Private Methods

Method Description
AddRef ( ) : bool
AllocateNativeOverlapped ( IOCompletionCallback callback, object state, object pinData ) : NativeOverlapped*
AllocateNativeOverlapped ( PreAllocatedOverlapped preAllocated ) : NativeOverlapped*
AllocateNativeOverlapped ( System preAllocated ) : System.Threading.NativeOverlapped*
AllocateNativeOverlapped ( System callback, object state, object pinData ) : System.Threading.NativeOverlapped*
FreeNativeOverlapped ( NativeOverlapped overlapped ) : void
FreeNativeOverlapped ( System overlapped ) : void
GetNativeOverlappedState ( NativeOverlapped overlapped ) : object
GetNativeOverlappedState ( System overlapped ) : object
GetOverlappedData ( Win32ThreadPoolNativeOverlapped overlapped, ThreadPoolBoundHandle expectedBoundHandle ) : Win32ThreadPoolNativeOverlapped.OverlappedData
IDeferredDisposable ( bool disposed ) : void
OnNativeIOCompleted ( IntPtr instance, IntPtr context, IntPtr overlappedPtr, uint ioResult, UIntPtr numberOfBytesTransferred, IntPtr ioPtr ) : void
Release ( ) : void
ThreadPoolBoundHandle ( )
ThreadPoolBoundHandle ( SafeHandle handle, SafeThreadPoolIOHandle threadPoolHandle ) : System.Diagnostics

Method Details

BindHandle() public static method

public static BindHandle ( System handle ) : System.Threading.ThreadPoolBoundHandle
handle System
return System.Threading.ThreadPoolBoundHandle

BindHandle() public static method

public static BindHandle ( SafeHandle handle ) : ThreadPoolBoundHandle
handle SafeHandle
return ThreadPoolBoundHandle

Dispose() public method

public Dispose ( ) : void
return void