ChannelListenerBase<TChannel> Constructor

 

Initializes a new instance of the ChannelListenerBase<TChannel> class.

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

NameDescription
System_CAPS_protmethodChannelListenerBase<TChannel>()

Initializes a new instance of the ChannelListenerBase<TChannel> class.

System_CAPS_protmethodChannelListenerBase<TChannel>(IDefaultCommunicationTimeouts)

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

The default ChannelListenerBase<TChannel>() constructor initializes timeout properties with the service model timeout values when exchanging messages. The default value is 1 minute for open, send, and close operations and 10 minutes for the receive operation. Use ChannelListenerBase<TChannel>(IDefaultCommunicationTimeouts) if you want to specify other values for these operation timeouts.

Return to top
Show: