摘要: 契约:using System;using System.ServiceModel;namespace WcfAsync{ [ServiceContract] public interface ICalculatorService { [OperationContract(AsyncPattern = true)] IAsyncResult BeginAdd(decimal x,decimal y,AsyncCallback callback,object state); decimal EndAdd(IAsyncResult ar)... 阅读全文
posted @ 2012-01-03 18:36 Joe·Zhou 阅读(750) 评论(2) 推荐(0)