views:

194

answers:

1

Does anyone know why I can't call BeginInvoke / EndInvoke on Action and Func delegates in my Silverlight app? I keep getting a NotSupportedException. Is there a workaround?

+1  A: 

Use the Dispatcher for that.

Deployment.Current.Dispatcher.BeginInvoke is the method you want :).

It accepts Funcs and Actions

Haragashi