ChannelListenerBase.OnBeginWaitForChannel 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.
When implemented in a derived class, provides a point of extensibility when starting to wait for a channel to arrive.
protected:
abstract IAsyncResult ^ OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
protected abstract IAsyncResult OnBeginWaitForChannel (TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginWaitForChannel : TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginWaitForChannel (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- timeout
- TimeSpan
The TimeSpan that specifies how long the on begin wait operation has to complete before timing out.
- callback
- AsyncCallback
The AsyncCallback delegate that receives the notification of the asynchronous operation on begin wait completion.
- state
- Object
An object, specified by the application, that contains state information associated with the asynchronous on begin wait operation.
Returns
The IAsyncResult that references the asynchronous on begin wait operation.