Mono Class Library: System.Net.HttpWebResponse Overview | MembersSystem.Net.HttpWebResponse.Dispose Method |
Releases the unmanaged resources used by the current instance and optionally releases the managed resources. [Edit]
|
- disposing
- true to release both managed and unmanaged resources; false to release only unmanaged resources. [Edit]
Operation
When disposing is true, this method releases all resources held by any managed objects that the current instance references.Note to Inheritors
When overriding HttpWebResponse.Dispose(bool)(bool), be careful not to reference objects that have been previously disposed in an earlier call to HttpWebResponse.Dispose(bool) as HttpWebResponse.Dispose(bool) may be called multiple times by other objects. . [Edit]
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0