//------------------------------------------------------------------------------ // // 這段程式碼是由工具產生的。 // 執行階段版本:4.0.30319.42000 // // 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼, // 變更將會遺失。 // //------------------------------------------------------------------------------ namespace WinApCallWs.ServiceReference1 { [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServiceReference1.WebService1Soap")] public interface WebService1Soap { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/Add", ReplyAction="*")] double Add(double x, double y); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/Add", ReplyAction="*")] System.Threading.Tasks.Task AddAsync(double x, double y); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface WebService1SoapChannel : WinApCallWs.ServiceReference1.WebService1Soap, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class WebService1SoapClient : System.ServiceModel.ClientBase, WinApCallWs.ServiceReference1.WebService1Soap { public WebService1SoapClient() { } public WebService1SoapClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public WebService1SoapClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public WebService1SoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public WebService1SoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } public double Add(double x, double y) { return base.Channel.Add(x, y); } public System.Threading.Tasks.Task AddAsync(double x, double y) { return base.Channel.AddAsync(x, y); } } }