Click or drag to resize

HttpListenerEndGetContext Method

Ends an asynchronous operation to get an incoming request.

Namespace:  Sfs2X.WebSocketSharp.Net
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public HttpListenerContext EndGetContext(
	IAsyncResult asyncResult
)

Parameters

asyncResult
Type: SystemIAsyncResult
An IAsyncResult obtained by calling the BeginGetContext method.

Return Value

Type: HttpListenerContext
A HttpListenerContext that represents a request.
Exceptions
ExceptionCondition
ArgumentNullExceptionasyncResult is .
ArgumentExceptionasyncResult wasn't obtained by calling the BeginGetContext method.
InvalidOperationException This method was already called for the specified asyncResult.
ObjectDisposedException This listener has been closed.
Remarks
This method completes an asynchronous operation started by calling the BeginGetContext method.
See Also