共用方式為


WebHttpRelayBindingElement.AllowCookies Property

Definition

Gets or sets a value that indicates whether the client accepts cookies and propagates them on future requests.

[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

Property Value

true if cookies are allowed; otherwise, false. The default is false.

Attributes

Applies to