DataServiceContext.UsePostTunneling 屬性

定義

取得或設定布林值,這個值表示否要使用 Post 通道。

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

屬性值

布林值,表示否要使用 Post 通道。

備註

這個屬性可控制傳送至資料服務的建立、更新和刪除要求是否要使用通訊協定 (Protocol) 的 Post 通道功能。 當設為 true 時會使用通道。 當設為 false 時會使用標準 HTTP 方法。

此屬性的預設值為 false。

適用於