Επεξεργασία

Κοινή χρήση μέσω


ChannelListenerBase<TChannel>.OnBeginAcceptChannel Method

Definition

When implemented in a derived class, provides an asynchronous extensibility point when beginning to accept a channel.

protected:
 abstract IAsyncResult ^ OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
protected abstract IAsyncResult OnBeginAcceptChannel (TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginAcceptChannel : TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginAcceptChannel (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

timeout
TimeSpan

The TimeSpan that specifies how long the accept channel operation has to complete before timing out.

callback
AsyncCallback

The AsyncCallback delegate that receives the notification of the asynchronous completion of the accept channel operation.

state
Object

An object, specified by the application, that contains state information associated with the asynchronous accept channel operation.

Returns

The IAsyncResult that references the asynchronous accept channel operation.

Applies to