AcceptChannel Method
Collapse the table of content
Expand the table of content

IChannelListener<TChannel>.AcceptChannel Method

 

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

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

NameDescription
System_CAPS_pubmethodAcceptChannel()

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

System_CAPS_pubmethodAcceptChannel(TimeSpan)

Accepts a channel of a specified type for communication with a client within a specified interval of time.

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.

Return to top
Show:
© 2016 Microsoft