HttpWebRequest.Finalize Method

Releases the resources held by the current HttpWebRequest instance.

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


Protected Overrides Sub Finalize
protected override void Finalize()


On Silverlight for Windows Phone, this method overrides the default Object.Finalize method on the HttpWebRequest class. This member override applies only to the versions listed in "Version Information" later in this topic.

Application code does not call this method; it is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled. For more information, see GC.SuppressFinalize and Object.Finalize. This method overrides Object.Finalize.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also


HttpWebRequest Class

System.Net Namespace