HttpListenerBeginGetContext Method |
Begins getting an incoming request asynchronously.
Namespace:
Sfs2X.WebSocketSharp.Net
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public IAsyncResult BeginGetContext(
AsyncCallback callback,
Object state
)
Parameters
- callback
- Type: SystemAsyncCallback
An AsyncCallback delegate that references the method to invoke when
the asynchronous operation completes.
- state
- Type: SystemObject
An Object that represents a user defined object to pass to
the callback delegate.
Return Value
Type:
IAsyncResult
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.
|
Remarks
This asynchronous operation must be completed by calling the EndGetContext method.
Typically, the method is invoked by the callback delegate.
See Also