//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ namespace ConsoleApp1.IBDdocQuer { [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(Namespace="http://fdncc.itf.nc/IBDdocQuey", ConfigurationName="IBDdocQuer.IBDdocQueyPortType")] public interface IBDdocQueyPortType { // CODEGEN: 消息部分命名空间 以后生成的消息协定与默认值(http://fdncc.itf.nc/IBDdocQuey)不匹配 [System.ServiceModel.OperationContractAttribute(Action="urn:bdDocQuey", ReplyAction="urn:bdDocQueyResponse")] [return: System.ServiceModel.MessageParameterAttribute(Name="return")] ConsoleApp1.IBDdocQuer.bdDocQueyResponse bdDocQuey(ConsoleApp1.IBDdocQuer.bdDocQueyRequest request); [System.ServiceModel.OperationContractAttribute(Action="urn:bdDocQuey", ReplyAction="urn:bdDocQueyResponse")] System.Threading.Tasks.Task bdDocQueyAsync(ConsoleApp1.IBDdocQuer.bdDocQueyRequest request); } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="bdDocQuey", WrapperNamespace="http://fdncc.itf.nc/IBDdocQuey", IsWrapped=true)] public partial class bdDocQueyRequest { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)] public string @string; public bdDocQueyRequest() { } public bdDocQueyRequest(string @string) { this.@string = @string; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="bdDocQueyResponse", WrapperNamespace="http://fdncc.itf.nc/IBDdocQuey", IsWrapped=true)] public partial class bdDocQueyResponse { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)] public string @return; public bdDocQueyResponse() { } public bdDocQueyResponse(string @return) { this.@return = @return; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface IBDdocQueyPortTypeChannel : ConsoleApp1.IBDdocQuer.IBDdocQueyPortType, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class BDdocQueyPortTypeClient : System.ServiceModel.ClientBase, ConsoleApp1.IBDdocQuer.IBDdocQueyPortType { public BDdocQueyPortTypeClient() { } public BDdocQueyPortTypeClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public BDdocQueyPortTypeClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public BDdocQueyPortTypeClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public BDdocQueyPortTypeClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] ConsoleApp1.IBDdocQuer.bdDocQueyResponse ConsoleApp1.IBDdocQuer.IBDdocQueyPortType.bdDocQuey(ConsoleApp1.IBDdocQuer.bdDocQueyRequest request) { return base.Channel.bdDocQuey(request); } public string bdDocQuey(string @string) { ConsoleApp1.IBDdocQuer.bdDocQueyRequest inValue = new ConsoleApp1.IBDdocQuer.bdDocQueyRequest(); inValue.@string = @string; ConsoleApp1.IBDdocQuer.bdDocQueyResponse retVal = ((ConsoleApp1.IBDdocQuer.IBDdocQueyPortType)(this)).bdDocQuey(inValue); return retVal.@return; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] System.Threading.Tasks.Task ConsoleApp1.IBDdocQuer.IBDdocQueyPortType.bdDocQueyAsync(ConsoleApp1.IBDdocQuer.bdDocQueyRequest request) { return base.Channel.bdDocQueyAsync(request); } public System.Threading.Tasks.Task bdDocQueyAsync(string @string) { ConsoleApp1.IBDdocQuer.bdDocQueyRequest inValue = new ConsoleApp1.IBDdocQuer.bdDocQueyRequest(); inValue.@string = @string; return ((ConsoleApp1.IBDdocQuer.IBDdocQueyPortType)(this)).bdDocQueyAsync(inValue); } } }