ReceiveContext.OnBeginComplete(TimeSpan, AsyncCallback, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the state machine is transitioning to the completed state asynchronously with the specified timeout, callback, and state data.
protected:
abstract IAsyncResult ^ OnBeginComplete(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
protected abstract IAsyncResult OnBeginComplete (TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginComplete : TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginComplete (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- timeout
- TimeSpan
The timeout for the complete operation to complete.
- callback
- AsyncCallback
The asynchronous callback delegate that receives the notification of the asynchronous operation completion.
- state
- Object
The user-defined state data.
Returns
A IAsyncResult that references the asynchronous operation.