Dela via


HttpBaseProtocolFilter.CookieUsageBehavior Property

Definition

Gets or sets the cookie usage behavior. By default, cookies are handled automatically.

public:
 property HttpCookieUsageBehavior CookieUsageBehavior { HttpCookieUsageBehavior get(); void set(HttpCookieUsageBehavior value); };
HttpCookieUsageBehavior CookieUsageBehavior();

void CookieUsageBehavior(HttpCookieUsageBehavior value);
public HttpCookieUsageBehavior CookieUsageBehavior { get; set; }
var httpCookieUsageBehavior = httpBaseProtocolFilter.cookieUsageBehavior;
httpBaseProtocolFilter.cookieUsageBehavior = httpCookieUsageBehavior;
Public Property CookieUsageBehavior As HttpCookieUsageBehavior

Property Value

The cookie usage behavior.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to