HttpTransportElement.KeepAliveEnabled 属性

定义

获取或设置指示是否与 Internet 资源建立持久性连接的 Boolean 值。

public:
 property bool KeepAliveEnabled { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("keepAliveEnabled", DefaultValue=true)]
public bool KeepAliveEnabled { get; set; }
[<System.Configuration.ConfigurationProperty("keepAliveEnabled", DefaultValue=true)>]
member this.KeepAliveEnabled : bool with get, set
Public Property KeepAliveEnabled As Boolean

属性值

如果保持与 Internet 资源的持久性连接,则为 true;否则为 false

属性

适用于