try
{
SinServicesGet.SinServices SinGet = new SinServicesGet.SinServices();
string url = SinGet.OpenSinNotMap(txtTaskId.Text.ToString(),texTaskQY.Text.ToString());//调用那个services
}
catch(WebException) //网络不通
{
}
catch(SoapException) //调用services出错,主要是这个,用soap就行了
{
}
catch(SqlException) //数据库连接失败
{
}
catch(TimeoutException)
{
}
catch(Exception)
{
}