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

ChannelFactoryBase Constructor (IDefaultCommunicationTimeouts)

[ 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 with specified default communication timeouts.

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

protected ChannelFactoryBase(
	IDefaultCommunicationTimeouts timeouts
)

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(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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft