BasicHttpBinding.EnableHttpCookieContainer BasicHttpBinding.EnableHttpCookieContainer BasicHttpBinding.EnableHttpCookieContainer BasicHttpBinding.EnableHttpCookieContainer Property

定义

警告

此 API 现已过时。

获取或设置一个值,该值指示是否启用 HTTP cookie 容器。Gets or sets a value that indicates whether HTTP cookie container is enabled.

public:
 property bool EnableHttpCookieContainer { bool get(); void set(bool value); };
[System.Obsolete("This property is obsolete. To enable Http CookieContainer, use the AllowCookies property instead.", false)]
public bool EnableHttpCookieContainer { get; set; }
member this.EnableHttpCookieContainer : bool with get, set
Public Property EnableHttpCookieContainer As Boolean

属性值

true 如果启用 HTTP cookie 容器;否则为falsetrue if HTTP cookie container is enabled; otherwise, false.

适用于