This documentation is archived and is not being maintained.

Control.Invoke Method

Executes a delegate on the thread that owns the control's underlying window handle.

Overload List

Executes the specified delegate on the thread that owns the control's underlying window handle.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Function Invoke(Delegate) As Object
[C#] public object Invoke(Delegate);
[C++] public: Object* Invoke(Delegate*);
[JScript] public function Invoke(Delegate) : Object;

Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments.

[Visual Basic] Overloads Public Overridable Function Invoke(Delegate, Object()) As Object Implements ISynchronizeInvoke.Invoke
[C#] public virtual object Invoke(Delegate, object[]);
[C++] public: virtual Object* Invoke(Delegate*, Object[]);
[JScript] public function Invoke(Delegate, Object[]) : Object;

See Also

Control Class | Control Members | System.Windows.Forms Namespace

Show: