XmlReader.Create()拋出例外訊息:The underlying connection was closed: The connection was closed unexpectedly.

  • 1386
  • 0

XmlReader.Create()拋出例外訊息:The underlying connection was closed: The connection was closed unexpectedly.

透過XmlReader.Create()方法讀取網址參數的遠端資源時,有時會遇到例外訊息:The underlying connection was closed: The connection was closed unexpectedly.

原因之一在於無線網路必須重新登入。