Dispose Method (Boolean)
Collapse the table of content
Expand the table of content

WebResponse.Dispose Method (Boolean)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Releases the resources used by the WebResponse object, and optionally disposes of the managed resources.

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

'Declaration
Protected Overridable Sub Dispose ( _
	disposing As Boolean _
)

Parameters

disposing
Type: System.Boolean
Set to true to release both managed and unmanaged resources; false to release only unmanaged resources.

Windows Phone OS

Supported in: 8.1

Show:
© 2017 Microsoft