webservice中的方法可以使用out传出参数返回多个返回值.
[WebMethod]
public string HelloWorld(out string outss1,out string outss2) {
outss1="returnParaOne";
outss2 = "returnParaTwo";
return "sdf";
}
想接收上面webservice中的三个值如何接收?
localhost.Service es = new localhost.Service();
string para1=string.Empty();
string para2=string.Empty();
string para=es.HelloWorld(out para1,out para2);