| AsyncTargetWrapper Constructor (Target, Int32, AsyncTargetWrapperOverflowAction) |
Namespace:
NLog.Targets.Wrappers
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public AsyncTargetWrapper(
Target wrappedTarget,
int queueLimit,
AsyncTargetWrapperOverflowAction overflowAction
)
Public Sub New (
wrappedTarget As Target,
queueLimit As Integer,
overflowAction As AsyncTargetWrapperOverflowAction
)
Dim wrappedTarget As Target
Dim queueLimit As Integer
Dim overflowAction As AsyncTargetWrapperOverflowAction
Dim instance As New AsyncTargetWrapper(wrappedTarget,
queueLimit, overflowAction)
new :
wrappedTarget : Target *
queueLimit : int *
overflowAction : AsyncTargetWrapperOverflowAction -> AsyncTargetWrapper
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