MvcOptions.MaxIAsyncEnumerableBufferLimit Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the most number of entries of an IAsyncEnumerable<T> that that ObjectResultExecutor will buffer.
When Value is an instance of IAsyncEnumerable<T>, ObjectResultExecutor will eagerly read the enumeration and add to a synchronous collection prior to invoking the selected formatter. This property determines the most number of entries that the executor is allowed to buffer.
public:
property int MaxIAsyncEnumerableBufferLimit { int get(); void set(int value); };
public int MaxIAsyncEnumerableBufferLimit { get; set; }
member this.MaxIAsyncEnumerableBufferLimit : int with get, set
Public Property MaxIAsyncEnumerableBufferLimit As Integer
Property Value
Defaults to 8192
.