IDisposable.Dispose Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Releases all resources used by the HttpListenerResponse.
Namespace: System.Net
Assembly: System.Http (in System.Http.dll)
Syntax
'Declaration
Private Sub Dispose Implements IDisposable.Dispose
void IDisposable.Dispose()
private:
virtual void Dispose() sealed = IDisposable::Dispose
private abstract Dispose : unit -> unit
private override Dispose : unit -> unit
JScript does not support explicit interface implementations.
Implements
IDisposable. . :: . .Dispose() () () ()
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.