次の方法で共有


ChunkedCookieHandlerElement.ChunkSize プロパティ

定義

ハンドラーのチャンク サイズを取得または設定します。

public:
 property int ChunkSize { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("chunkSize", DefaultValue=2000, IsRequired=false)]
[System.Configuration.IntegerValidator(MinValue=1000)]
public int ChunkSize { get; set; }
[<System.Configuration.ConfigurationProperty("chunkSize", DefaultValue=2000, IsRequired=false)>]
[<System.Configuration.IntegerValidator(MinValue=1000)>]
member this.ChunkSize : int with get, set
Public Property ChunkSize As Integer

プロパティ値

チャンク サイズ (バイト単位)。 既定値は、DefaultChunkSize です。 MinimumChunkSize によって定義される最小チャンク サイズより小さい値を設定しないでください。

属性

注釈

チャンク サイズを調整する場合は注意が必要です。 Web ブラウザーでは、Cookie のサイズと、合計およびドメインごとに許可される Cookie の数に関して異なる制限があります。 たとえば、元の Netscape 仕様では、合計 300 個の Cookie、Cookie ヘッダーあたり 4096 バイト (Cookie 値だけでなくメタデータを含む)、ドメインごとに 20 個の Cookie が指定されています。 詳細については、「ChunkedCookieHandler」を参照してください。

chunkSizechunkedCookieHandler> 要素の<属性を表します。

適用対象

こちらもご覧ください