IHttpListener GetContext Method WebDAV#
Waits for a request to come in to the web server and returns a IHttpListenerContext adapter around it.

Namespace: WebDAVSharp.Server.Adapters
Assembly: WebDAVSharp.Server (in WebDAVSharp.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
IHttpListenerContext GetContext(
	EventWaitHandle abortEvent
)

Parameters

abortEvent
Type: System.Threading EventWaitHandle
A EventWaitHandle to use for aborting the wait. If this event becomes set before a request comes in, this method will return null.

Return Value

Type: IHttpListenerContext
A IHttpListenerContext adapter object for a request; or null if the wait for a request was aborted due to abortEvent being set.
See Also