Binding.CloseTimeout Binding.CloseTimeout Binding.CloseTimeout Binding.CloseTimeout Property

定义

获取或设置在传输引发异常之前可用于关闭连接的时间间隔。Gets or sets the interval of time provided for a connection to close before the transport raises an exception.

public:
 property TimeSpan CloseTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan CloseTimeout { get; set; }
member this.CloseTimeout : TimeSpan with get, set
Public Property CloseTimeout As TimeSpan

属性值

TimeSpan,指定在超时前必须完成关闭操作的时间。默认值为 1 分钟。The TimeSpan that specifies how long the close operation has to complete before timing out. The default value is 1 minute.

异常

注解

此属性的值由绑定的工厂所生成的通道和侦听器使用。The value of this property is used by the channels and listeners produced by the factories of the binding.

适用于