ChannelFactoryBase Constructor

ChannelFactoryBase 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 class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Protected method ChannelFactoryBase() Initializes a new instance of the ChannelFactoryBase class.
Protected method ChannelFactoryBase(IDefaultCommunicationTimeouts) Initializes a new instance of the ChannelFactoryBase class with specified default communication timeouts.
Top

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

Show:
© 2017 Microsoft