| AsyncTargetWrapper Constructor (Target, Int32, AsyncTargetWrapperOverflowAction) |
Namespace:
NLog.Targets.Wrappers
Assembly:
NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
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