DefaultCloseTimeout Property

ChannelFactory.DefaultCloseTimeout Property


Gets the default interval of time provided for a close operation to complete.

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

Protected Overrides ReadOnly Property DefaultCloseTimeout As TimeSpan

Property Value

Type: System.TimeSpan

The default T:System.Timespan that specifies how long the close operation has to complete before timing out.

Gets the default service model close time-out if both the ServiceEndpoint and Binding are null. The default value for the service model close time-out is 1 minute. Otherwise, the value is set to the CloseTimeout value associated with the ServiceEndpoint.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft