Export (0) Print
Expand All

ChannelFactory.OnClose Method

Calls close on the inner channel factory with a specified time-out for the completion of the operation.

Namespace:  System.ServiceModel
Assemblies:   System.ServiceModel (in System.ServiceModel.dll)
  System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)

protected override void OnClose(
	TimeSpan timeout
)

Parameters

timeout
Type: System.TimeSpan

The Timespan that specifies how long the operation has to complete before timing out.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft