SoapHttpClientProtocol返回值
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.contoso.com/Add", RequestNamespace="http://www.contoso.com/", ResponseNamespace="http://www.contoso.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int Add(int num1, int num2) {
object[] results = this.Invoke("Add", new object[] {xx1,
xx2});
return ((string)(results[0]));
}
代码呈上,
我的我问题是:假如this.Invoke("Add", new object[] {xx1,xx2})的返回结果用了20分钟返回40M大小的的STREAM,怎么做进度条显示下载进度呢?