GlobalLogBufferingOptions.MaxBufferSizeInBytes 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 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.