Abort Method

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

Shuts down the HttpListener object immediately, discarding all currently queued requests.

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

member Abort : unit -> unit 

This method disposes of all resources held by this listener. Any pending requests are unable to complete.

After calling this method, you will receive an ObjectDisposedException if you attempt to use this HttpListener.

Show: