解决方案 »
- 问个jQuery的问题,大家 帮忙!
- 一个关于数据库连接的问题
- c#中常量值无法转换为“char”错误
- c#编程
- 在C#中想做一个来回滚动的滚动条应该怎么做呢??
- CSV文件读取,日期格式问题。
- C#中使用DELPHI开发的DLL库,传string值时,只能传11位,请大师们指教!!急!!
- 当WebRequest 的Uri中有中文时的问题
- C# Winform程序实现模拟微信登录并获取用户群列表
- 大家好,有个建行支付接口的问题
- C# 下 spreadsheet 控件怎么用?就是用来加载一个Excel文件,然后Excel可以编辑。都需要引用什么dll,控件在工具栏的什么位置,希望可以说的
- 怎样统计“执行一个过程”所用的时间??? 用毫秒计算。
public WcfServiceClient GetClient()
{
SMC.Binding binding = WcfServiceClient.CreateDefaultBinding();
string remoteAddress = WcfServiceClient.EndpointAddress.Uri.ToString();
EndpointAddress endpoint = new EndpointAddress(remoteAddress);
WcfServiceClient client = new WcfServiceClient(binding, endpoint);
return client;
}
EndpointAddress endpoint = new EndpointAddress(remoteAddress);报以下错误
错误 2 “WcfServiceClient.EndpointAddress”是“字段”,但此处被当做“类型”来使用 C:\Documents and Settings\Administrator\桌面\v2.6\Windows CE\Samples VS2008\C#\CS_Barcode2ControlSample1\WcfService\WcfService.cs 151 9 WirelessRouteSystem