แก้ไข

แชร์ผ่าน


ChannelFactory.OnClose(TimeSpan) Method

Definition

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

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 operation has to complete before timing out.

Applies to