ChannelListenerBase<TChannel>.OnAcceptChannel Method (TimeSpan)

 

When implemented in a derived class, provides an extensibility point when accepting a channel.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected abstract TChannel OnAcceptChannel(
	TimeSpan timeout
)

Parameters

timeout
Type: System.TimeSpan

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

Return Value

Type: TChannel

The IChannel accepted.

.NET Framework
Available since 3.0
Return to top
Show: