mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.5000.0 2.0.0.0 4.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object System.Runtime.InteropServices.ComVisible(true)

The and methods transfer information from an object to a structure that can be passed to Win32 API functions for asynchronous file I/O. The method transfers information from a structure to an instance of the class.

Changes to the properties of an object affect its associated structure, and vice versa.

Provides a managed representation of a Win32 OVERLAPPED structure, including methods to transfer information from an instance to a structure.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  To be added

  Initializes a new, empty instance of the class.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Obsolete("Not 64bit compatible. Please use the constructor that takes IntPtr for the event handle")

  Use the property to get the handle of any managed synchronization event that derives from the class.

  Your implementation of provides status information on the I/O operation. Pass it to the constructor in the parameter, and retrieve it later with the property. If a callback method is specified for the or method, the callback can retrieve your by unpacking the structure it receives.

  Initializes a new instance of the 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.

  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.
  An object that implements the interface and provides status information on the I/O operation.
- Constructor
  2.0.0.0
  4.0.0.0

  To get the handle of a managed synchronization object that derives from the class, use the property to get a object, and then call the method.

  Your implementation of provides status information on the I/O operation. Pass it to the constructor in the parameter, and retrieve it later with the property. If a callback method is specified for the or method, the callback can retrieve your by unpacking the structure it receives.

  Initializes a new instance of the 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.

  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.
  An object that implements the interface and provides status information on the I/O operation.
- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.IAsyncResult To be added. To be added.

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

- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Obsolete("Not 64bit compatible. Use EventHandleIntPtr instead.")
  System.Int32 To be added.

  This property cannot be used on 64-bit platforms. Use the property instead.

  Use the property to get the handle of any managed synchronization event that derives from the class.

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

- Property
  2.0.0.0
  4.0.0.0
  System.Runtime.InteropServices.ComVisible(false)
  System.IntPtr To be added.

  To get the handle of a managed synchronization object that derives from the class, use the property to get a object, and then call the method.

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

- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.CLSCompliant(false)
  System.Void ``

  You must call the method exactly once on every pointer you receive from the method. If you don't call the method, you will leak memory. If you call the method more than once, memory will be corrupted.

  Frees the unmanaged memory associated with a native overlapped structure allocated by the method.

  A pointer to the structure to be freed.
- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 To be added. To be added.

  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.

- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 To be added. To be added.

  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.

- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.CLSCompliant(false)
  System.Obsolete("Use Pack(iocb, userData) instead")
  System.Threading.NativeOverlapped* ``

  The unmanaged pointer returned by this method can be passed to the operating system in overlapped I/O operations. The structure is fixed in physical memory until is called.

  The caller is responsible for pinning the buffer. If the application domain is unloaded, however, the handle to the pinned buffer is destroyed and the buffer is released, leaving the I/O operation to write to the freed address. For this reason, it is better to use the method overload, in which the runtime pins the buffer.

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

  An unmanaged pointer to a structure.

  An delegate that represents the callback method invoked when the asynchronous I/O operation completes.
- Method
  2.0.0.0
  4.0.0.0
  System.CLSCompliant(false)
  System.Runtime.InteropServices.ComVisible(false)
  System.Threading.NativeOverlapped* `` ``

  The unmanaged pointer returned by this method can be passed to the operating system in overlapped I/O operations. The structure is fixed in physical memory until is called.

  The buffer or buffers specified in must be the same as those passed to the unmanaged operating system function that performs the asynchronous I/O.

  The runtime pins the buffer or buffers specified in for the duration of the I/O operation. If the application domain is unloaded, the runtime keeps the memory pinned until the I/O operation completes.

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

  An unmanaged pointer to a structure.

  An delegate that represents the callback method invoked when the asynchronous I/O operation completes. An object or array of objects representing the input or output buffer for the operation. Each object represents a buffer, for example an array of bytes.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.CLSCompliant(false)
  System.Threading.Overlapped ``

  The structure is not freed from physical memory until you call the method.

  Unpacks the specified unmanaged structure into a managed object.

  An object containing the information unpacked from the native structure.

  An unmanaged pointer to a structure.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.CLSCompliant(false)
  System.Obsolete("Use UnsafePack(iocb, userData) instead")
  System.Threading.NativeOverlapped* ``

  The unmanaged pointer returned by this method can be passed to the operating system in overlapped I/O operations. The structure is fixed in physical memory until is called.

  The caller is responsible for pinning the buffer. If the application domain is unloaded, however, the handle to the pinned buffer is destroyed and the buffer is released, leaving the I/O operation to write to the freed address. For this reason, it is better to use the method overload, in which the runtime pins the buffer.

  Using the method could inadvertently open up a security hole. Code access security bases its permission checks on the permissions of all the callers on the stack. The method does not propagate the calling stack. Malicious code might be able to exploit this to avoid permission checks.

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

  An unmanaged pointer to a structure.

  An delegate that represents the callback method invoked when the asynchronous I/O operation completes.
- Method
  2.0.0.0
  4.0.0.0
  System.CLSCompliant(false)
  System.Runtime.InteropServices.ComVisible(false)
  System.Threading.NativeOverlapped* `` ``

  The unmanaged pointer returned by this method can be passed to the operating system in overlapped I/O operations. The structure is fixed in physical memory until is called.

  The buffer or buffers specified in must be the same as those passed to the unmanaged operating system function that performs the asynchronous I/O.

  The runtime pins the buffer or buffers specified in for the duration of the I/O operation. If the application domain is unloaded, the runtime keeps the memory pinned until the I/O operation completes.

  Using the method could inadvertently open up a security hole. Code access security bases its permission checks on the permissions of all the callers on the stack. The method does not propagate the calling stack. Malicious code might be able to exploit this to avoid permission checks.

  Packs the current instance into a 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.

  An unmanaged pointer to a structure.

  An delegate that represents the callback method invoked when the asynchronous I/O operation completes. An object or array of objects representing the input or output buffer for the operation. Each object represents a buffer, for example an array of bytes.