Control.Invoke Method
This page is specific to:.NET Framework Version:1.12.03.03.54.0
.NET Framework Class Library
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

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View