Windows商店应用,服务参考

时间:2014-11-04 16:13:41

标签: c# windows-runtime windows-store-apps service-reference

在Windows商店应用程序中,我有一个服务参考,看起来像这样 enter image description here

这是wsdl:http://paste2.org/B00MD3Wt

的xaml

在生成的Referece.cs文件中我有这个

...

    [System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class WSDocuShareJoinWirelessClient : System.ServiceModel.ClientBase<xxxServiceReference.IWSDocuShareJoinWireless>, xxx.ServiceReference.IWSDocuShareJoinWireless {

    public WSDocuShareJoinWirelessClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
            base(binding, remoteAddress) {
    }

...

我想知道的是当我这样做时应该使用的绑定参数

private WSDocuShareJoinWirelessClient client = new WSDocuShareJoinWirelessClient(binding,remoteAddress);

我注意到现在我也得到了这两个警告 enter image description here

0 个答案:

没有答案