Begin and EndInvoke

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Could anyone tell me if the latest NET Compact Framework supports Begin and Endinvoke ??

According to the net_compact_framework.chm they are supported. ( Go into the namespace System and then System.AsyncCallback "module mscorlib.dll" ).

But implementing Begin and Endinvoke makes my pocket pc crash.
 
Yes, BeginInvoke and EndInvoke are supported. Since I don't have the code
it's impossible to diagnose the specifics of 'crashing' but if you can post
the code, I'll be glad to take a look at it.


Robot said:
Could anyone tell me if the latest NET Compact Framework supports Begin and Endinvoke ??

According to the net_compact_framework.chm they are supported. ( Go into
the namespace System and then System.AsyncCallback "module mscorlib.dll" ).
But implementing Begin and Endinvoke makes my pocket pc crash.

--

W.G. Ryan, eMVP

http://forums.devbuzz.com/
http://www.knowdotnet.com/williamryan.html
http://www.msmvps.com/WilliamRyan/
 
BeginInvoke and EndInvoke will compile correctly however they will
throw an exception when program execution gets to them. I don't
believe that they are supported under the .NET Compact Framework.

Apparently, asynchronous events in general are not supported.

SNIP from http://samples.gotdotnet.com/quickstart/CompactFramework/doc/controlinvoker.aspx
The .NET Compact Framework, however, does not support the asynchronous
BeginInvoke and EndInvoke calls and it does not currently support
passing parameters to Invoke for synchronous calls.
SNIP

Stephen Inkpen
 
Back
Top