Mono Class Library: System.Net.WebResponse Overview | MembersSystem.Net.WebResponse.Close Method |
Closes the response stream. [Edit]
|
Type Reason NotSupportedException This method is not implemented in the derived class. [Edit]
Operation
This method is required to free the connection used by the System.IO.Stream returned by a call to WebResponse.GetResponseStream .The System.Net.WebResponse class is abstract and does not provide an implementation for this method. This method throws NotSupportedException.
Note to Inheritors
This method is required to be overridden in derived classes to close the response stream and free resources allocated by the current instance.Usage
Use this method or System.IO.Stream.Close to clean up the resources used by a System.Net.WebResponse . [Edit]
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0