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

屬性值

如果用戶端接受 Cookie,則為 true,否則為 false

屬性

適用於