Edit

Share via


ChannelFactoryBase.OnClose(TimeSpan) Method

Definition

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

protected:
 override void OnClose(TimeSpan timeout);
protected override void OnClose (TimeSpan timeout);
override this.OnClose : TimeSpan -> unit
Protected Overrides Sub OnClose (timeout As TimeSpan)

Parameters

timeout
TimeSpan

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

Remarks

The default implementation is empty.

Applies to