ChannelListenerBase<TChannel> Constructor (IDefaultCommunicationTimeouts)

 

Initializes a new instance of the ChannelListenerBase<TChannel> class with specified default communication timeouts.

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

protected ChannelListenerBase(
	IDefaultCommunicationTimeouts timeouts
)

Parameters

timeouts
Type: System.ServiceModel.IDefaultCommunicationTimeouts

The IDefaultCommunicationTimeouts that specify the default timeouts for open, send, receive, and close operations when exchanging messages.

Use ChannelListenerBase<TChannel>(IDefaultCommunicationTimeouts) instead of the default constructor if you want to specify custom values for the open, send, receive, and close operation timeouts instead of using the service model default values.

.NET Framework
Available since 3.0
Return to top
Show: