ChannelFactoryBase::OnClose Method (TimeSpan)

 

Inserts processing on a communication object after it transitions into the opening state which must complete within a specified interval of time.

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

protected:
virtual void OnClose(
	TimeSpan timeout
) override

Parameters

timeout
Type: System::TimeSpan

The TimeSpan that specifies how long the on close operation has to complete before timing out.

The default implementation is empty.

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: