HttpListener..::..BeginGetContext Method (AsyncCallback, Object)
Begins getting an incoming request asynchronously.
Namespace:
WebSocketSharp.NetAssembly: 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.
Return Value
An IAsyncResult that represents the status of the asynchronous operation.Exceptions
Exception | Condition |
---|---|
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. |