WebResponse.IDisposable.Dispose 方法

定义

当在派生类中被重写时,释放 WebResponse 使用的所有资源。When overridden in a derived class, releases all resources used by the WebResponse.

 virtual void System.IDisposable.Dispose() = IDisposable::Dispose;
void IDisposable.Dispose ();
Sub Dispose () Implements IDisposable.Dispose

实现

例外

当未在子类中重写该方法时,试图访问该方法。Any attempt is made to access the method, when the method is not overridden in a descendant class.

适用于