Share via


MvcNewtonsoftJsonOptions.OutputFormatterMemoryBufferThreshold Propiedad

Definición

Obtiene el tamaño máximo que se va a almacenar en búfer en la memoria cuando SuppressOutputFormatterBuffering no se establece.

NewtonsoftJsonOutputFormatter almacena en búfer el flujo de salida de forma predeterminada, almacenando en búfer hasta una determinada cantidad de memoria, antes de almacenar en búfer en el disco. Esta opción configura el tamaño en bytes que MVC almacenará en búfer en memoria, antes de cambiar al disco.

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

Valor de propiedad

El valor predeterminado es 30 Kb.

Se aplica a