- control
- The control to provide the thread of execution..
- del
- The delegate to execute on the control thread.
Visual Basic (Declaration) | |
---|---|
Public Shared Sub SynchronizedInvoke( _ ByVal control As Control, _ ByVal del As MethodInvoker _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim control As Control Dim del As MethodInvoker AsyncHelper.SynchronizedInvoke(control, del) |
C# | |
---|---|
public static void SynchronizedInvoke( Control control, MethodInvoker del ) |
C++/CLI | |
---|---|
public: static void SynchronizedInvoke( Control^ control, MethodInvoker^ del ) |
Parameters
- control
- The control to provide the thread of execution..
- del
- The delegate to execute on the control thread.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7