Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Control Class
Control Methods
Invoke Method

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

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.

  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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Consider using BeginInvoke()      Kristof Verbiest   |   Edit   |   Show History

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 What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker