BCL 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

Supported by objects that represent the state of an asynchronous operation.

An object that supports the interface stores state information for an asynchronous operation, and provides a synchronization object to allow threads to be signaled when the operation completes.

objects are returned by methods that begin asynchronous operations, such as , and are passed to methods used to complete asynchronous operations, such as . objects are also passed to methods invoked by delegates when an asynchronous operation completes.

- Property
  System.Object

  Gets the user-provided state object supplied at the time the asynchronous operation was started.

  The supplied .

  The object returned by this property is required to be the object specified as the last parameter to methods that begin asynchronous operations, such as .

  This property is read-only.

  Implement this property to allow the caller of an asynchronous operation to obtain an application-defined object specified at the start of the operation.

  The object returned by this property can be used to pass state information for the asynchronous operation to a delegate.

  0
  1.0.5000.0
  2.0.0.0
  4.0.0.0
- Property
  System.Threading.WaitHandle

  Gets a that can be used to block a thread until an asynchronous operation completes.

  A that is signaled when an asynchronous operation completes.

  The object returned by can be allocated in advance or on demand. However, once allocated it is required to be kept alive until the user calls a method that ends the asynchronous operation, such as . Only after the operation completes or is canceled, can the object be disposed of.

  supplies methods that support waiting for synchronization objects to become signaled, such as .

  This property is read-only.

  Clients that wait for the operation to complete (as opposed to polling), use this property to obtain a synchronization object to wait on.

  0
  1.0.5000.0
  2.0.0.0
  4.0.0.0
- Property
  System.Boolean

  Gets a value that specifies whether the asynchronous operation completed synchronously.

  if the operation synchronously; otherwise .

  As described above.

  Most implementations of the interface will not use this property, and should return .

  This property is read-only.

  Use this property to determine if the asynchronous operation completed synchronously. For example, this property can return for an asynchronous IO operation if the IO request was small.

  0
  1.0.5000.0
  2.0.0.0
  4.0.0.0
- Property
  System.Boolean

  Gets a value that specifies whether an asynchronous operation has completed.

  if the operation has completed; otherwise .

  As described above.

  This property is read-only.

  Clients that poll for operation status (as opposed to waiting on a synchronization object) use this property to determine the status of the operation.

  0
  1.0.5000.0
  2.0.0.0
  4.0.0.0
0 System.Runtime.InteropServices.ComVisible(true)