ChannelFactoryBase<TChannel> Constructor
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
Initializes a new instance of the ChannelFactoryBase<TChannel> class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name | Description | |
---|---|---|
ChannelFactoryBase<TChannel>() | Initializes a new instance of the ChannelFactoryBase<TChannel> class. | |
ChannelFactoryBase<TChannel>(IDefaultCommunicationTimeouts) | Initializes a new instance of the ChannelFactoryBase<TChannel> class with the default communication timeouts specified. |
Top
Remarks
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.