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

ChannelFactoryBase(Of TChannel) 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(Of TChannel) class with the default communication timeouts specified.

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

'Declaration
Protected Sub New ( _
	timeouts As IDefaultCommunicationTimeouts _
)

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft