在Windows商店应用程序中,我有一个服务参考,看起来像这样
这是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);
我注意到现在我也得到了这两个警告