ChannelFactoryBase<TChannel> Constructor (IDefaultCommunicationTimeouts^)
.NET Framework (current version)
Initializes a new instance of the ChannelFactoryBase<TChannel> class with the default communication timeouts specified.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- timeouts
-
Type:
System.ServiceModel::IDefaultCommunicationTimeouts^
The IDefaultCommunicationTimeouts that specifies the default timeouts for open, send, receive, and close operations when exchanging messages.
Use ChannelFactoryBase<TChannel>(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.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: