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

속성 값

기본값은 30Kb입니다.

적용 대상