C-DEngine 5.105

HttpListener..::..BeginGetContext Method (AsyncCallback, Object)

Begins getting an incoming request asynchronously.

Namespace:  WebSocketSharp.Net
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public IAsyncResult BeginGetContext(
	AsyncCallback callback,
	Object state
)
Public Function BeginGetContext ( _
	callback As AsyncCallback, _
	state As Object _
) As IAsyncResult
public:
IAsyncResult^ BeginGetContext(
	AsyncCallback^ callback, 
	Object^ state
)

Parameters

callback
Type: AsyncCallback
An AsyncCallback delegate that references the method to invoke when the asynchronous operation completes.
state
Type: Object
An Object that represents a user defined object to pass to the callback delegate.

Return Value

An IAsyncResult that represents the status of the asynchronous operation.

Exceptions


ExceptionCondition
InvalidOperationException

This listener has no URI prefix on which listens.

-or-

This listener hasn't been started, or is currently stopped.

ObjectDisposedException This listener has been closed.

Remarks


This asynchronous operation must be completed by calling the EndGetContext method. Typically, the method is invoked by the callback delegate.

See Also


BeginGetContext Overload