Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ChannelListenerBase Constructor (IDefaultCommunicationTimeouts^)

 

Initializes a new instance of the ChannelListenerBase 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(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:
© 2017 Microsoft