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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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