HttpBaseProtocolFilter.CookieUsageBehavior 属性

定义

获取或设置 Cookie 使用行为。 默认情况下,Cookie 会自动处理。

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

属性值

Cookie 使用行为。

Windows 要求

设备系列
Windows 10 (在 10.0.10586.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v2.0 中引入)

适用于