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.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
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