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.

ChannelFactoryBase<TChannel> Constructor

 

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

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

NameDescription
System_CAPS_protmethodChannelFactoryBase<TChannel>()

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

System_CAPS_protmethodChannelFactoryBase<TChannel>(IDefaultCommunicationTimeouts^)

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

The default ChannelFactoryBase<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 ChannelFactoryBase<TChannel>(IDefaultCommunicationTimeouts^) if you want to specify other values for these operation timeouts.

Return to top
Show:
© 2017 Microsoft