System [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.3300.0 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.

The interface provides synchronous and asynchronous communication between objects about the occurrence of an event. Objects that implement this interface can receive notification that an event has occurred, and they can respond to queries about the event. In this way, clients can ensure that one request has been processed before they submit a subsequent request that depends on completion of the first.

The class provides two ways to invoke a process:

Asynchronously, by using the method. starts a process and then returns immediately. Use to wait until the process started by completes.

Synchronously, by using the method. starts a process, waits until it completes, and then returns. Use when the control's main thread is different from the calling thread to marshal the call to the proper thread.

The attribute applied to this class has the following property value: | . The does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the class or SQL Server Programming and Host Protection Attributes.

Provides a way to synchronously or asynchronously execute a delegate.

- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.IAsyncResult `` ``

  The delegate is executed on the thread that created the object, instead of the thread on which was called.

  The delegate is called asynchronously, and this method returns immediately. You can call this method from any thread. If you need the return value from a process started with this method, call to get the value.

  If you need to call the delegate synchronously, use the method instead.

  Asynchronously executes the delegate on the thread that created this object.

  An interface that represents the asynchronous operation started by calling this method.

  A to a method that takes parameters of the same number and type that are contained in . An array of type to pass as arguments to the given method. This can be null if no arguments are needed.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Object ``

  This method gets the return value of the asynchronous operation represented by the passed by this interface. If the asynchronous operation has not completed, this method will wait until the result is available.

  Waits until the process started by calling completes, and then returns the value generated by the process.

  An that represents the return value generated by the asynchronous operation.

  An interface that represents the asynchronous operation started by calling .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Object `` ``

  Unlike , this method operates synchronously, that is, it waits until the process completes before returning. Exceptions raised during the call are propagated back to the caller.

  Use this method when calling a method from a different thread to marshal the call to the proper thread.

  Synchronously executes the delegate on the thread that created this object and marshals the call to the creating thread.

  An that represents the return value from the delegate being invoked, or null if the delegate has no return value.

  A that contains a method to call, in the context of the thread for the control. An array of type that represents the arguments to pass to the given method. This can be null if no arguments are needed.
- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Boolean To be added: an object of type 'bool'

  This property determines whether the caller must call when making method calls to an object that implements this interface. Such objects are bound to a specific thread and are not thread-safe. If you are calling a method from a different thread, you must use the method to marshal the call to the proper thread.

  Gets a value indicating whether the caller must call when calling an object that implements this interface.