ChannelFactoryBase(TChannel) Constructor
Collapse the table of content
Expand the table of content

ChannelFactoryBase<TChannel> Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

protected ChannelFactoryBase()

The default 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft