Επεξεργασία

Κοινή χρήση μέσω


HttpListenerResponse.IDisposable.Dispose Method

Definition

Releases all resources used by the HttpListenerResponse.

 virtual void System.IDisposable.Dispose() = IDisposable::Dispose;
void IDisposable.Dispose ();
abstract member System.IDisposable.Dispose : unit -> unit
override this.System.IDisposable.Dispose : unit -> unit
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