Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HttpListener Methods

HttpListener Methods

(see also Protected Methods )
  Name Description
Public method Abort Shuts down the HttpListener object immediately, discarding all currently queued requests.
Public method BeginGetContext Begins asynchronously retrieving an incoming request.
Public method Close Shuts down the HttpListener after processing all currently queued requests.
Public method EndGetContext Completes an asynchronous operation to retrieve an incoming client request.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetContext Waits for an incoming request and returns when one is received.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Start Allows this instance to receive incoming requests.
Public method Stop Causes this instance to stop receiving incoming requests.
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)

  Name Description
Explicit interface implementation Method System.IDisposable.Dispose Releases the resources held by this HttpListener object.

Community Additions

© 2015 Microsoft