IDisposable.Dispose Method
Collapse the table of content
Expand the table of content

HttpListenerResponse.IDisposable.Dispose Method ()


This API supports the product infrastructure and is not intended to be used directly from your code.

Releases all resources used by the HttpListenerResponse.

Namespace:   System.Net
Assembly:  System (in System.dll)

void IDisposable.Dispose()

Use the Close method to send the response and release resources held by an HttpListenerResponse. To discard the response and release the resources held by this instance, use the Abort method.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft