Top "Invoke" questions

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

WPF Dispatcher.Invoke 'hanging'

I have a somewhat complex WPF application which seems to be 'hanging' or getting stuck in a Wait call when …

c# .net wpf invoke dispatcher
what is invoking?

What is method invoke, control.invoke? What is invoking in general in programming examples : MethodInvoker getValues = new MethodInvoker(delegate() { checkbox1…

c# visual-studio invoke
Getting a return value from a methodInfo.invoke

How do I get a return value (int) from a methodInfo.invoke? What makes it difficult for me is the …

invoke methodinfo
C# How to invoke with more than one parameter

I use the code below to access the properties on my form,but today I'd like to write stuff to …

c# winforms invoke
How to return a value with Dispatcher.Invoke?

Anyone knows how to return a value from Dispatcher.Invoke in wpf? I want to return the selected index for …

wpf return invoke dispatcher
Func<T>() vs Func<T>.Invoke()

I'm curious about the differences between calling a Func directly vs using Invoke() on it. Is there a difference ? Is …

c# invoke func
MethodInvoke delegate or lambda expression

What is the difference between the two? Invoke((MethodInvoker) delegate { checkedListBox1.Items.RemoveAt(i); checkedListBox1.Items.Insert(i, temp + validity); …

c# delegates lambda invoke method-invocation
Cross-thread operation not valid in Windows Forms

Could anyone help me i have a problem I'm trying to get this code to work in the background via …

c# winforms ftp threadpool invoke
Unable to access UNC Paths in Powershell remote session

I am unable to access the UNC paths on my servers in a Powershell remote session from my local machine. …

powershell mapping remoting invoke
Invoking methods with optional parameters through reflection

I've run into another problem using C# 4.0 with optional parameters. How do I invoke a function (or rather a constructor, …

c# .net reflection invoke default-value