GlobalLogBufferingOptions.MaxBufferSizeInBytes Property

Definition

Gets or sets the maximum size of the buffer in bytes.

public:
 property int MaxBufferSizeInBytes { int get(); void set(int value); };
[System.ComponentModel.DataAnnotations.Range(1, 10737418240)]
public int MaxBufferSizeInBytes { get; set; }
[<System.ComponentModel.DataAnnotations.Range(1, 10737418240)>]
member this.MaxBufferSizeInBytes : int with get, set
Public Property MaxBufferSizeInBytes As Integer

Property Value

Attributes

Remarks

If adding a new log entry would cause the buffer size to exceed this limit, the oldest buffered log records will be dropped to make room.

Applies to