HttpListenerResponse.IDisposable.Dispose Method

Definition

Releases all resources used by the HttpListenerResponse.

 virtual void System.IDisposable.Dispose() = IDisposable::Dispose;
void IDisposable.Dispose ();
Sub Dispose () Implements IDisposable.Dispose

Implements

Remarks

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.

Applies to

See also