[VB.NET]设置remoting超时timeout代码

前端之家收集整理的这篇文章主要介绍了[VB.NET]设置remoting超时timeout代码前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
'超时设置:
  1. DimhttpPropAsIDictionary=NewHashtable()
  2. httpProp("name")="http801"
  3. httpProp("timeout")=1000
  4. DimchannelAsIChannel=NewHttpChannel(httpProp,NewSoapClientFormatterSinkProvider(),NewSoapServerFormatterSinkProvider())
  5. ChannelServices.RegisterChannel(channel)

猜你在找的VB相关文章