HttpBindingBase.AllowCookies HttpBindingBase.AllowCookies HttpBindingBase.AllowCookies HttpBindingBase.AllowCookies Property

定义

获取或设置一个值,该值指示客户端是否接受 Cookie 并根据今后的请求传播 Cookie。Gets or sets a value that indicates whether the client accepts cookies and propagates them on future requests.

public:
 property bool AllowCookies { bool get(); void set(bool value); };
public bool AllowCookies { get; set; }
member this.AllowCookies : bool with get, set
Public Property AllowCookies As Boolean

属性值

如果接受 Cookie,则为 true;否则为 falsetrue if cookies are allowed; otherwise, false.

适用于