ServicePointManagerElement.Expect100Continue プロパティ

定義

100-Continue 動作を使用するかどうかを決定するブール値を取得または設定します。

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

プロパティ値

true POST要求に対して 100 -Continue 応答を想定する場合は。それ以外の場合はfalse。 既定値は true です。

属性

注釈

このプロパティを true に設定すると、 POST メソッドを使用するクライアント要求は、サーバーから 100 -Continue 応答を受け取り、クライアントがポストするデータを送信する必要があることを示します。 このメカニズムにより、サーバーが要求ヘッダーに基づいて要求を拒否する場合に、クライアントはネットワーク経由で大量のデータを送信することを回避できます。

追加情報については、ServicePointManager.Expect100Continueを参照してください。

適用対象

こちらもご覧ください