你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HttpRelayTransportElement.KeepAliveEnabled 属性

定义

从配置文件中获取或设置一个布尔值,该值指示是否与 Internet 资源建立持久连接。

[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。

属性

适用于