共用方式為


HttpTransportElement.KeepAliveEnabled 屬性

定義

取得或設定 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

屬性值

Boolean

如果要維護與網際網路資源的持續連線,則為 true,否則為 false

屬性

適用於