System.Threading.Overlapped Members

The members of System.Threading.Overlapped are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new, empty instance of the System.Threading.Overlapped class.

Initializes a new instance of the System.Threading.Overlapped class with the specified file position, the 32-bit integer handle to an event that is signaled when the I/O operation is complete, and an interface through which to return the results of the operation.

Initializes a new instance of the System.Threading.Overlapped class with the specified file position, the handle to an event that is signaled when the I/O operation is complete, and an interface through which to return the results of the operation.

Public Properties

AsyncResultIAsyncResult.

Gets or sets the object that provides status information on the I/O operation.

EventHandleint.

Gets or sets the 32-bit integer handle to a synchronization event that is signaled when the I/O operation is complete.

EventHandleIntPtrIntPtr.

Gets or sets the handle to the synchronization event that is signaled when the I/O operation is complete.

OffsetHighint.

Gets or sets the high-order word of the file position at which to start the transfer. The file position is a byte offset from the start of the file.

OffsetLowint.

Gets or sets the low-order word of the file position at which to start the transfer. The file position is a byte offset from the start of the file.

Public Methods

static
Free(NativeOverlapped*)

Frees the unmanaged memory associated with a native overlapped structure allocated by the erload:System.Threading.Overlapped.Pack method.

Pack(IOCompletionCallback) : NativeOverlapped*

Packs the current instance into a System.Threading.NativeOverlapped structure, specifying the delegate to be invoked when the asynchronous I/O operation is complete.

Pack(IOCompletionCallback, object) : NativeOverlapped*

Packs the current instance into a System.Threading.NativeOverlapped structure, specifying a delegate that is invoked when the asynchronous I/O operation is complete and a managed object that serves as a buffer.

static
Unpack(NativeOverlapped*) : Overlapped

Unpacks the specified unmanaged System.Threading.NativeOverlapped structure into a managed System.Threading.Overlapped object.

UnsafePack(IOCompletionCallback) : NativeOverlapped*

Packs the current instance into a System.Threading.NativeOverlapped structure specifying the delegate to invoke when the asynchronous I/O operation is complete. Does not propagate the calling stack.

UnsafePack(IOCompletionCallback, object) : NativeOverlapped*

Packs the current instance into a System.Threading.NativeOverlapped structure, specifying the delegate to invoke when the asynchronous I/O operation is complete and the managed object that serves as a buffer. Does not propagate the calling stack.