第1步:创建接口
namespace WCF.Interface { //[ServiceContract(CallbackContract=typeof(ICallback))]//回调接口(全双工) [ServiceContract] public interface ICalculator { [OperationContract] double Add(double x, double y); } }
第1步:创建接口
namespace WCF.Interface { //[ServiceContract(CallbackContract=typeof(ICallback))]//回调接口(全双工) [ServiceContract] public interface ICalculator { [OperationContract] double Add(double x, double y); } }
Powered By Z-BlogPHP 1.7.3
Copyright 2024-2027 pukuimin Rights Reserved.
粤ICP备17100155号