CookieContainer.MaxCookieSize 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表 的最大允許長度 Cookie。
public:
property int MaxCookieSize { int get(); void set(int value); };
public:
property int MaxCookieSize { int get(); };
public int MaxCookieSize { get; set; }
public int MaxCookieSize { get; }
member this.MaxCookieSize : int with get, set
member this.MaxCookieSize : int
Public Property MaxCookieSize As Integer
Public ReadOnly Property MaxCookieSize As Integer
屬性值
允許的最大長度(以位元組為單位) Cookie。
例外狀況
要設定的大小小於或等於零。
備註
若新值 MaxCookieSize 小於當前值,任何 Cookie 長度超過新值的節點都會被截斷。