Control Methods


.NET Framework Class Library
Control..::.Invoke Method

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

Overload List

  NameDescription
Public methodSupported by the .NET Compact FrameworkInvoke(Delegate)Executes the specified delegate on the thread that owns the control's underlying window handle.
Public methodSupported by the .NET Compact FrameworkInvoke(Delegate, array<Object>[]()[])Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments.
Top
See Also

Reference

Tags :


Community Content

Kristof Verbiest
Consider using BeginInvoke()

The usage of the Invoke() method may sometimes lead to deadlocks. Therefore you should consider using BeginInvoke(). A more detailed explanation can be found here:
http://kristofverbiest.blogspot.com/2007/02/avoid-invoke-prefer-begininvoke.html

Tags :

Page view tracker