Importing a WCF method into WP7 App becomes async and doesnt return the list.
C#
1
Posts
1
Posters
0
Views
1
Watching
-
I am new to creating WCF projects as well as windows phone 7. I created a simple method in WCF which just returns a list of an object.
public List GetSticky() { return stickys; }
I then used it very simply
Sticky[] test = client.GetSticky();
When I import the WCF dll via a service reference into a console app the method acts how it should. When I import the method into a Windows Phone 7 application it become an async method (not sure what this means)and doesnt return a list, it comes up void.
client.GetStickyAsync();
If anyone can help explain what is going on and help me to be a little less confused. Thanks