WebResponse.IDisposable.Dispose Method

Definition

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

C#
void 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

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0