简体   繁体   中英

Getting string from WCF service

I want to get the string generated by the WCF service, both synchronously and asynchronously. I know that with the bitmap, for instance, it's a piece of cake - you can add the event handler to BitmapImage on eg IsDownloaded or something. How about strings? How can I achieve that? Assume that I want to use URi for calling the WCF service.

What is the best approach for that?

Thanks in advance for the reply!

Cheers

考虑使用来自MSDN的默认消息合同示例。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM