ChannelFactory.DefaultCloseTimeout Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 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
Return to top
Show: