Created
April 28, 2011 19:30
-
-
Save max-mulawa/947123 to your computer and use it in GitHub Desktop.
GetLocation Async
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IAsyncResult result = _client.BeginGetLocation("Warsaw,Poland",null, null); | |
//Do some work here | |
// Wait until the operation completes. | |
result.AsyncWaitHandle.WaitOne(); | |
List<Location> locations = _client.EndGetLocation(result); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment