HttpClientHandler.UseCookies プロパティ

定義

ハンドラーが プロパティを使用 CookieContainer してサーバー Cookie を格納し、要求の送信時にこれらの Cookie を使用するかどうかを示す値を取得または設定します。

public:
 property bool UseCookies { bool get(); void set(bool value); };
public bool UseCookies { get; set; }
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public bool UseCookies { get; set; }
member this.UseCookies : bool with get, set
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.UseCookies : bool with get, set
Public Property UseCookies As Boolean

プロパティ値

true ハンドラーが をサポートする場合は、 プロパティを CookieContainer 使用してサーバー Cookie を格納し、要求の送信時にこれらの Cookie を使用する場合は 。それ以外の場合 falseは 。 既定値は true です。

属性

適用対象