MvcNewtonsoftJsonOptions.InputFormatterMemoryBufferThreshold プロパティ

定義

が設定されていない場合にメモリ内でバッファーに格納する最大サイズを SuppressInputFormatterBuffering 取得します。

NewtonsoftJsonInputFormatter は、ディスクにバッファリングする前に、入力ストリームを既定でバッファーし、メモリ内の一定の量までバッファーします。 このオプションでは、ディスクに切り替える前に、MVC がメモリ内でバッファーに格納するサイズをバイト単位で構成します。

public:
 property int InputFormatterMemoryBufferThreshold { int get(); void set(int value); };
public int InputFormatterMemoryBufferThreshold { get; set; }
member this.InputFormatterMemoryBufferThreshold : int with get, set
Public Property InputFormatterMemoryBufferThreshold As Integer

プロパティ値

既定値は 30 Kb です。

適用対象