次の方法で共有


BatchingLoggerOptions.BackgroundQueueSize Property

Definition

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