Click or drag to resize

AsyncTargetWrapper Constructor (Target, Int32, AsyncTargetWrapperOverflowAction)

Initializes a new instance of the AsyncTargetWrapper class.

Namespace:  NLog.Targets.Wrappers
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public AsyncTargetWrapper(
	Target wrappedTarget,
	int queueLimit,
	AsyncTargetWrapperOverflowAction overflowAction
)

Parameters

wrappedTarget
Type: NLog.TargetsTarget
The wrapped target.
queueLimit
Type: SystemInt32
Maximum number of requests in the queue.
overflowAction
Type: NLog.Targets.WrappersAsyncTargetWrapperOverflowAction
The action to be taken when the queue overflows.
See Also