BatchingLoggerOptions.BackgroundQueueSize 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 background log message queue or null for no limit.
public:
property Nullable<int> BackgroundQueueSize { Nullable<int> get(); void set(Nullable<int> value); };
public int? BackgroundQueueSize { get; set; }
member this.BackgroundQueueSize : Nullable<int> with get, set
Public Property BackgroundQueueSize As Nullable(Of Integer)
Property Value
The default is 1000.
Remarks
After the maximum queue size is reached, the log event sink starts blocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.