HttpBindingBaseElement.AllowCookies 属性

定义

获取或设置一个值,该值指示客户端是否接受 Cookie。

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

属性值

true 如果客户端接受 Cookie,则为否则,为 false.

属性

适用于