Overlapped Constructor (Int32, Int32, IntPtr, IAsyncResult)
Initializes a new instance of the 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.
Assembly: mscorlib (in mscorlib.dll)
The low word of the file position at which to start the transfer.
The high word of the file position at which to start the transfer.
The handle to an event that is signaled when the I/O operation is complete.
To get the handle of a managed synchronization object that derives from the WaitHandle class, use the WaitHandle.SafeWaitHandle property to get a SafeWaitHandle object, and then call the DangerousGetHandle method.
Your implementation of IAsyncResult provides status information on the I/O operation. Pass it to the constructor in the ar parameter, and retrieve it later with the AsyncResult property. If a callback method is specified for the Pack or UnsafePack method, the callback can retrieve your IAsyncResult by unpacking the NativeOverlapped structure it receives.
Available since 2.0