This documentation is archived and is not being maintained.

ISynchronizeInvoke Interface

Provides a way to synchronously or asynchronously execute a delegate.

For a list of all members of this type, see ISynchronizeInvoke Members.

[Visual Basic]
Public Interface ISynchronizeInvoke
public interface ISynchronizeInvoke
public __gc __interface ISynchronizeInvoke
public interface ISynchronizeInvoke

Classes that Implement ISynchronizeInvoke

Class Description
Control Defines the base class for controls, which are components with visual representation.


The ISynchronizeInvoke 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 make sure that one request has been processed before they submit a subsequent request that depends on completion of the first.

The ISynchronizeInvoke class provides two ways to invoke a process:

  1. Asynchronously, by using the BeginInvoke method. BeginInvoke starts a process and then returns immediately. Use EndInvoke to wait until the process started by BeginInvoke completes.
  2. Synchronously, by using the Invoke method. Invoke starts a process, waits until it completes, and then returns. Use Invoke when the control's main thread is different from the calling thread to marshal the call to the proper thread.


Namespace: System.ComponentModel

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

ISynchronizeInvoke Members | System.ComponentModel Namespace | BeginInvoke | EndInvoke | Invoke