WebResponse.IDisposable.Dispose Method


When overridden in a derived class, releases all resources used by the WebResponse.

 virtual void System.IDisposable.Dispose() = IDisposable::Dispose;
void IDisposable.Dispose ();
abstract member System.IDisposable.Dispose : unit -> unit
override this.System.IDisposable.Dispose : unit -> unit
Sub Dispose () Implements IDisposable.Dispose



Any attempt is made to access the method, when the method is not overridden in a descendant class.


This member is an explicit interface member implementation. It can be used only when the WebResponse instance is cast to an IDisposable interface.

Applies to