Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 1.1
.NET Framework
Reference
Control Class
Methods
Invoke Method

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
.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