.NET Framework Class Library
HttpListener Methods
The HttpListener type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
Abort | Shuts down the HttpListener object immediately, discarding all currently queued requests. |
|
BeginGetContext | Begins asynchronously retrieving an incoming request. |
|
Close | Shuts down the HttpListener. |
|
EndGetContext | Completes an asynchronous operation to retrieve an incoming client request. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetContext | Waits for an incoming request and returns when one is received. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Start | Allows this instance to receive incoming requests. |
|
Stop | Causes this instance to stop receiving incoming requests. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
|
IDisposable.Dispose | Infrastructure. Releases the resources held by this HttpListener object. |
See Also