“Method is not supported” error when trying to invoke a delegate

前端 未结 1 1958
萌比男神i
萌比男神i 2021-01-13 18:25

I have a function Run(string, string[]) which I want to run on a separate thread, so I am using a delegate and BeginInvoke:

private         


        
相关标签:
1条回答
  • 2021-01-13 19:09

    The asynchronous Delegate.BeginInvoke is not available for delegates in Silverlight.

    You should use a BackgroundWorker instead to run anything asynchronously.

    0 讨论(0)
提交回复
热议问题