CookieUsePolicy 列舉

定義

這個列舉可讓您在與伺服器通訊時控制 HTTP Cookie。This enumeration allows control of HTTP cookies when communicating with the server.

public enum class CookieUsePolicy
public enum CookieUsePolicy
type CookieUsePolicy = 
Public Enum CookieUsePolicy
繼承
CookieUsePolicy

欄位

IgnoreCookies 0

這個值表示用戶端未向伺服器傳送任何 Cookie。This value indicates that no cookies are sent to the server by the client.

UseInternalCookieStoreOnly 1

這個值表示,在內部處理的 Cookie 會最佳化效能。This value indicates that cookies are handled internally which optimizes performance. 使用此值時,不允許存取、新增及刪除 Cookie。Accessing, adding and deleting cookies is not allowed when this value is used.

UseSpecifiedCookieContainer 2

這個值表示使用 CookieContainer 類型手動管理 Cookie。This value indicates that cookies are managed manually using a CookieContainer type.

適用於