BasicHttpBinding.EnableHttpCookieContainer 属性

定义

注意

This property is obsolete. To enable Http CookieContainer, use the AllowCookies property instead.

获取或设置一个值,该值指示是否启用 HTTP Cookie 容器。

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; }
[<System.Obsolete("This property is obsolete. To enable Http CookieContainer, use the AllowCookies property instead.", false)>]
member this.EnableHttpCookieContainer : bool with get, set
Public Property EnableHttpCookieContainer As Boolean

属性值

Boolean

如果启用 HTTP cookie 容器,则为 true;否则为 false

属性

适用于