語言

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

屬性值

true若維持與網際網路資源的持續連線;否則,。 false

屬性

適用於