Hi, Async/Await features are available in the alpha releases of Mono (ie. 2.11) but not MonoTouch (yet). I think the plan for these features being included in MonoTouch & Mono 4 Android is this fall (although I'm not on that team, so I could be wrong).
Hope that helps, Jeff On Wed, Jul 18, 2012 at 2:45 PM, rhavlick <[email protected]>wrote: > Hello, I'm trying to get to use the async framework features to perform a > web > service call. I found from other posts, this is now supported in the Alpha > release, so I downloaded it - and believe I have the correct updates, > however it's giving me errors like: > > Type Parameter Declaration Must Be An Identifier Not A Type. Unexpected > Symbol 'TestAsync' In Class, Struct, Or Interface Member Declaration, > Class, > Struct, Interface. Method must have a return type. > > My method is: > public async Task<bool> TestAsync{ > //Some Stuff > } > > > Here is what versions I'm running: > MonoDevelop 3.0.3.4 > Runtime: > Mono 2.10.9 (tarball) > GTK 2.24.10 > GTK# (2.12.0.0) > Package version: 210090011 > Apple Developer Tools: > Xcode 4.3.2 (1177) > Build 4E2002 > Monotouch: 5.3.4 > > Anyone know how to make this work? Thanks. > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Await-Async-Task-tp4656049.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
