摘要:
上一篇随笔的异步调用是方法的异步调用实现,WCF的异步调用有自己的实现逻辑(一些方法和调用过程.net已经制定好)WCF异步调用示例:客户端调用: AsyncManageAgent clientAgent = this.Command as AsyncManageAgent; clientAgent.GetNameAsync(Code, userState); clientAgent.GetNameCompleted += delegate(object sender, Agent.GetNameCompletedEventArgs args) { this.GetNameCompleted( 阅读全文