Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Importing service reference makes all async calls void

$
0
0

Hi, I am trying make a very simple PCL class to evaluate the suitability of Xamarin for some of our projects (and hence have very little Xamarin knowledge)

The PCL class is simply to talk to an existing webservice. I can successfully Add the service reference however the return types of the Async calls all show as void rather than returning a task.

If i do the same thing on the specific target e.g. Windows Store app, they are imported correctly

e.g. in PCL void LoginAsync(....) in Windows Store App Task LoginAsync(...)

Is this some inherent limitation in PCL's or am I doing something incorrectly? Thanks


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>