Edit

Share via


WebResponse.IDisposable.Dispose Method

Definition

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

Implements

Exceptions

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

Remarks

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