共用方式為


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 引進)

適用於