HttpWebRequest.Finalize Method

Releases the resources held by the current HttpWebRequest instance.

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

Syntax

'Declaration
Protected Overrides Sub Finalize
protected override void Finalize()

Remarks

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

Platforms

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

See Also

Reference

HttpWebRequest Class

System.Net Namespace