Share via


MvcNewtonsoftJsonOptions.OutputFormatterMemoryBufferThreshold 속성

정의

가 설정되지 않은 경우 SuppressOutputFormatterBuffering 메모리에서 버퍼링할 최대 크기를 가져옵니다.

NewtonsoftJsonOutputFormatter 는 디스크에 버퍼링하기 전에 기본적으로 출력 스트림을 버퍼링하여 메모리에서 일정량까지 버퍼링합니다. 이 옵션은 디스크로 전환하기 전에 MVC가 메모리에서 버퍼링할 크기(바이트)를 구성합니다.

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

속성 값

기본값은 30Kb입니다.

적용 대상