This documentation is archived and is not being maintained.

IChannelListener<TChannel>.AcceptChannel Method

Accepts a channel of a specified type for communication with a client.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework AcceptChannel() Accepts a channel of a specified type for communication with a client.
Public method Supported by the .NET Compact Framework AcceptChannel(TimeSpan) Accepts a channel of a specified type for communication with a client within a specified interval of time.
Top

It is recommended that the AcceptChannel(TimeSpan) overload with the explicit timeout be used. The timeout specified for that method overrides any default timeouts set by the system for the service.

Show: