MvcNewtonsoftJsonOptions.OutputFormatterMemoryBufferThreshold プロパティ

定義

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

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

public int OutputFormatterMemoryBufferThreshold { get; set; }
member this.OutputFormatterMemoryBufferThreshold : int with get, set
Public Property OutputFormatterMemoryBufferThreshold As Integer

プロパティ値

既定値は 30 Kb です。

適用対象