Share via


Dispose Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Releases the resources used by the HttpWebRequest.

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

Syntax

'Declaration
Public Sub Dispose
public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit 
override Dispose : unit -> unit 
public final function Dispose()

Implements

IDisposable. . :: . .Dispose() () () ()

.NET Framework Security

See Also

Reference

WebRequest Class

Dispose Overload

System.Net Namespace